Invoice Data
Attributes on the invoice payload body for events with the topic invoice.created
invoiceNumber
The unique identifier for the invoice, assigned by the distributor.
createdAt
The date the invoice was generated, in ISO 8601 format.
orderId
The unique identifier of the order in Sibi that is associated with this invoice.
poNumber
The external purchase order number provided for this invoice. Is defined by the user when placing the order. Is null when not available.
propertyAddress
The property address associated with the invoice. Broken down into separate string fields line1, line2, city, stateOrProvince, postalCode. If the address doesn’t have a line2, it will return a value of null.
taxCents
The tax amount applied to this invoice, represented in cents.
totalCents
The total amount of the invoice, represented in cents.
lineItems
A list of items included in the invoice.
lineItems.sku
The stock-keeping unit (SKU) identifier for the item.
lineItems.name
Human readable name of the item. Is null when not available.
lineItems.quantity
The number of units purchased for this item.
lineItems.unitOfMeasure
The unit of measurement for this item (e.g., EA for each).
lineItems.unitPriceCents
The price per unit of the item, represented in cents.
lineItems.totalPriceCents
The total price for the line item, accounting for the quantity and unit price, represented in cents.
lineItems.serialNumber
The serial number of the item when available. Will be null when not available.
fees
A list of fees applied to the order associated with the invoice. Empty when there are none, or for invoices issued before fees were captured.
fees.name
Human readable name of the fee.
fees.amountCents
The amount of the fee, represented in cents.
discounts
A list of discounts applied to the order associated with the invoice. Empty when there are none, or for invoices issued before discounts were captured.
discounts.name
Human readable name of the discount.
discounts.amountCents
The amount of the discount, expressed as a positive magnitude and represented in cents.
Example payload
{
"topic": "invoice.created",
"data": {
"invoiceNumber": "987654321",
"createdAt": "2025-03-10T00:00:00.000Z",
"orderId": "ORD-12345678",
"poNumber": "12345",
"propertyAddress": {
"line1": "12345 E Main St",
"line2": "Unit 3",
"city": "Anytown",
"stateOrProvince": "AZ",
"postalCode": "85233"
},
"taxCents": 0,
"totalCents": 58700,
"fees": [
{
"name": "Delivery Fee",
"amountCents": 500
}
],
"discounts": [
{
"name": "Loyalty Discount",
"amountCents": 250
}
],
"lineItems": [
{
"name": "4.0 cf Top Load Washer",
"sku": "HTW265ASWWW",
"quantity": 1,
"unitOfMeasure": "EA",
"unitPriceCents": 48500,
"totalPriceCents": 48500,
"serialNumber": "1234567890"
},
{
"name": "Install Washer",
"sku": "M302",
"quantity": 1,
"unitOfMeasure": "EA",
"unitPriceCents": 3000,
"totalPriceCents": 3000,
"serialNumber": null
},
{
"name": "Supply Washer Braided Line",
"sku": "M314",
"quantity": 1,
"unitOfMeasure": "EA",
"unitPriceCents": 3200,
"totalPriceCents": 3200,
"serialNumber": null
},
{
"name": "Disconnect Old Washer",
"sku": "M024",
"quantity": 1,
"unitOfMeasure": "EA",
"unitPriceCents": 1000,
"totalPriceCents": 1000,
"serialNumber": null
},
{
"name": "Recycle Old Appliance",
"sku": "M007",
"quantity": 1,
"unitOfMeasure": "EA",
"unitPriceCents": 3000,
"totalPriceCents": 3000,
"serialNumber": null
}
]
}
}