Skip to main content
WEBHOOK

Body

application/json

Emitted once the accounting PDF is stored. This is also the moment the e-invoicing outcome is known: the structured document is produced with the PDF, not at finalization.

customer_id
string<MeteroidId>
required
Example:

"cus_7n42DGM5Tflk9n8mt7Fhc7"

einvoicing_findings
object[]
required

Empty unless the status is failed.

invoice_id
string<MeteroidId>
required
Example:

"inv_7n42DGM5Tflk9n8mt7Fhc7"

pdf_document_id
string
required
id
string<MeteroidId>
required
Example:

"evt_7n42DGM5Tflk9n8mt7Fhc7"

timestamp
string<date-time>
required
type
enum<string>
required
Available options:
metric.created,
customer.created,
subscription.created,
subscription.updated,
subscription.cancelled,
subscription.ended,
invoice.created,
invoice.finalized,
invoice.paid,
invoice.voided,
invoice.closed,
invoice.consolidated,
invoice.deleted,
invoice.accounting_pdf_generated,
quote.accepted,
quote.converted,
credit_note.created,
credit_note.finalized,
credit_note.voided,
plan.created,
plan.published,
plan.archived,
product.created,
product.updated,
product.archived,
metric.updated,
metric.archived,
coupon.created,
coupon.updated,
coupon.archived,
addon.created,
addon.updated,
addon.archived,
refund.issued,
refund.settled,
refund.failed,
payment.reversed
einvoicing_error
string | null

Set when generation failed for a reason that is not a business rule.

einvoicing_profile
string | null

The profile the document was checked against, e.g. "EN 16931".

einvoicing_status
enum<string> | null

Absent when the invoicing entity had not opted in.

Available options:
GENERATED,
FAILED
xml_document_id
string | null

The structured e-invoice stored beside the PDF, when one was produced.

Response

200

Webhook received successfully