invoice-createdCopy Pagewbhk invoice-createdWebhook to notify when an invoice is created.Payloadiduuidrequiredsubsidiary_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_amountobjectrequiredA monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).net_amount objectamount_dueobjectrequiredA monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).amount_due objecttotalobjectrequiredA monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).total objectpayment_termsint32required≥ 0subtotalobjectrequiredA monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).subtotal objecttotal_discountobjectrequiredA monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).total_discount objectpurchase_order_numberstringexchange_rateobjectexchange_rate objecttaxed_amountobjectrequiredA monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).taxed_amount objectmemostringoverduebooleanrequiredtruefalseexternal_referencesarray of objectsexternal_referencesADD objectupdated_atdate-timerequiredISO 8601 timestamp in UTC timezone (must end with 'Z')sent_atdate-timeISO 8601 timestamp in UTC timezone (must end with 'Z') marking when the invoice was first sent to the customer from Rillet (either by a user action or by automation). Null if the invoice has never been sent from Rillet.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 9 days ago