Copy Pageinvoice-createdwebhook invoice-createdWebhook to notify when an invoice is created.PayloadThe invoice sent in the body of invoice webhooks. It keeps the shape invoice webhooks have always had, so it differs from the Invoice the invoice endpoints return: amounts are sent without rounding, item quantities are numbers, and it has no shipping_customer_id, sent_at or email_selection.iduuidrequiredsubsidiary_iduuidrequiredinvoice_numberstringrequiredcustomer_iduuidrequiredcontract_iduuiditemsarray of objectsrequiredlength ≥ 1items*ADD objectdue_datedaterequiredinvoice_datedaterequiredaddressobjectSender addressaddress objectcustomer_addressobjectcustomer_address objectshipping_addressobjectshipping_address objectbank_accountobjectbank_account objectstatusstringenumrequiredUNPAIDPAIDPARTIALLY_PAIDUNBILLEDCREDITEDPARTIALLY_CREDITEDAllowed:UNPAIDPAIDPARTIALLY_PAIDUNBILLEDCREDITEDPARTIALLY_CREDITEDnet_amountobjectrequirednet_amount objectamount_dueobjectrequiredamount_due objecttotalobjectrequiredtotal objectpayment_termsint32required≥ 0subtotalobjectrequiredsubtotal objecttotal_discountobjectrequiredtotal_discount objectpurchase_order_numberstringexchange_rateobjectexchange_rate objecttaxed_amountobjectrequiredtaxed_amount objectmemostringoverduebooleanrequiredtruefalseexternal_referencesarray of objects, uniqueexternal_referencesADD objectmetadataobjectrequiredInvoice metadata values keyed by metadata definition key. Empty when the invoice has none.metadata objectupdated_atdate-timerequiredISO 8601 timestamp in UTC timezone (must end with 'Z')taxes_calculated_atdate-timeISO 8601 timestamp in UTC timezone (ends with 'Z') of the last tax calculation on the invoice. For an invoice created in Rillet, update-taxes-for-an-invoice sets it to the taxes_calculated_at sent in that request. Omitted when no tax calculation has completed for the invoice.HeadersX-Rillet-SignaturestringrequiredSignature of the webhook event. Computed using HMAC-SHA256 and AES encrypted with the configured webhook token. The contents of the body are prefixed with the timestamp and id before hashing.X-Rillet-Timestampdate-timerequiredTimestamp of the webhook event in ISO-8601 formatX-Rillet-IduuidrequiredID of the webhook eventX-Rillet-EntitystringrequiredEntity type of the webhook eventX-Rillet-EventstringrequiredEvent type of the webhook eventResponse 200No ContentUpdated 6 months ago Deletes a webhook endpointinvoice-updatedDid this page help you?YesNo