invoice-created

Webhook to notify when an invoice is created.

Payload
uuid
required
uuid
required
string
required
uuid
required
uuid
items
array of objects
required
length ≥ 1
items*
date
required
date
required
address
object

Sender address

customer_address
object
shipping_address
object
bank_account
object
string
enum
required
Allowed:
net_amount
object
required

A monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).

amount_due
object
required

A monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).

total
object
required

A monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).

int32
required
≥ 0
subtotal
object
required

A monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).

total_discount
object
required

A monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).

string
exchange_rate
object
taxed_amount
object
required

A monetary amount that must be rounded to the currency's default decimal places (e.g., 2 decimal places for USD).

string
boolean
required
external_references
array of objects
external_references
date-time
required

ISO 8601 timestamp in UTC timezone (must end with 'Z')

date-time

ISO 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.

Headers
string
required

Signature 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.

date-time
required

Timestamp of the webhook event in ISO-8601 format

uuid
required

ID of the webhook event

string
required

Entity type of the webhook event

string
required

Event type of the webhook event

Response

LoadingLoading…