Order Invoiced
Fired when Danoffice IT issues the invoice for the order.
The order.invoiced event is the final event in the standard order lifecycle. It is emitted when Danoffice IT issues the invoice for the fulfilled order. Use this event to trigger financial workflows such as three-way matching, cost allocation, or ERP posting.
When it fires
Payload
{
"eventId": "c4e2a891-5f3b-47d9-a012-8bc74d3e6f21",
"eventType": "order.invoiced",
"timestamp": "2026-03-15T08:14:52.310Z",
"data": {
"order": {
"no": "DK-SO0085391",
"externalDocumentNo": "RITM0057743",
"yourReference": "",
"correlationId": "b8d42a17-9c6e-4f01-b235-71e30ac84d58"
},
"invoice": { "no": "DK-INV100923", "date": "22-01-26" },
"customer": {
"no": "CU004117",
"name": "Acme Corporation A/S"
},
"receiver": {
"company": "Acme Technology Group A/S",
"contact": "Thomas Andersen",
"phone": "28 46 93 71",
"address": {
"street": "Borupvang 3",
"city": "Ballerup",
"postalCode": "2750",
"country": "DK"
}
},
"lines": [
{
"lineNo": 10000,
"no": "MYE73QN/A-RDY",
"description": "Apple iPhone 16",
"quantity": 1.0,
"correlationId": "b8d42a17-9c6e-4f01-b235-71e30ac84d58",
"ref1": "RITM0057743",
"ref2": "SCTASK0088421",
"ref3": "",
"ref4": "",
"categoryCode": "K/C",
"categoryName": "Mobiles & GPS//Mobile Phones",
"manufacturer": "Apple",
"assetDetails": [
{
"id": 1031204,
"assetTag": "",
"serialNumber": "F9KN2LPXRM47",
"imei1": "354891092847361",
"imei2": ""
}
]
},
{
"lineNo": 20000,
"no": "CH20EUWH7079",
"description": "dbramante1928 re-charge - Strømforsyningsadapter - 20 Watt (",
"quantity": 1.0,
"correlationId": "b8d42a17-9c6e-4f01-b235-71e30ac84d58",
"ref1": "RITM0057743",
"ref2": "SCTASK0088421",
"ref3": "",
"ref4": "",
"categoryCode": "K/D3",
"categoryName": "Mobiles & GPS//Mobile Phones - Cables & Power Adapters",
"manufacturer": "dbramante1928",
"assetDetails": [
{
"id": 1031205,
"assetTag": "",
"serialNumber": "",
"imei1": "",
"imei2": ""
}
]
}
]
}
}Fields
Envelope
| Field | Type | Description |
|---|---|---|
eventId | string | Unique identifier for this event delivery |
eventType | string | Always order.invoiced |
timestamp | string | ISO 8601 UTC timestamp of when the event was emitted |
data.order
| Field | Type | Description |
|---|---|---|
data.order.no | string | The sales order number in the Danoffice IT ERP |
data.order.externalDocumentNo | string | The reference you provided when placing the order (e.g. RITM number) |
data.order.yourReference | string | Secondary free-text reference from the original order |
data.order.correlationId | string | Unique reference linking this event to your original order |
data.invoice
| Field | Type | Description |
|---|---|---|
data.invoice.no | string | The invoice number issued by Danoffice IT |
data.invoice.date | string | Invoice date in dd-MM-yy format |
data.customer
| Field | Type | Description |
|---|---|---|
data.customer.no | string | Danoffice IT customer account number |
data.customer.name | string | Customer account name in the Danoffice IT ERP |
data.receiver
| Field | Type | Description |
|---|---|---|
data.receiver.company | string | Company name of the recipient |
data.receiver.contact | string | Contact person at the delivery address |
data.receiver.phone | string | Phone number for the recipient |
data.receiver.address.street | string | Street address |
data.receiver.address.city | string | City |
data.receiver.address.postalCode | string | Postal / ZIP code |
data.receiver.address.country | string | ISO 3166-1 alpha-2 country code |
data.lines
Each entry in the lines array represents one invoiced order line.
| Field | Type | Description |
|---|---|---|
lineNo | number | Line number from the sales order |
no | string | Item/product number |
description | string | Product description |
quantity | number | Quantity invoiced on this line |
correlationId | string | Correlation ID for the order this line belongs to |
ref1 – ref4 | string | Custom reference fields passed in on the original order line |
categoryCode | string | Internal category code |
categoryName | string | Human-readable category path |
manufacturer | string | Manufacturer name |
data.lines.assetDetails
Each line may include one or more asset records for serialised items.
| Field | Type | Description |
|---|---|---|
id | number | Internal asset record identifier |
assetTag | string | Asset tag, if assigned |
serialNumber | string | Serial number of the unit, if available |
imei1 | string | Primary IMEI number, for cellular devices |
imei2 | string | Secondary IMEI number, for dual-SIM devices |
What to do
- Use
invoice.noandorder.externalDocumentNotogether for three-way matching against your purchase order. - Post the invoice to your ERP or accounts payable system using the
customerandinvoicefields. - Store
assetDetails(serial numbers, IMEI) if you need to reconcile invoiced items against your CMDB or asset register. - Use
order.correlationIdto link back to the correspondingorder.shippedandorder.deliveredevents.
Invoice date format
invoice.date is formatted as dd-MM-yy, not ISO 8601. Parse accordingly
when ingesting into date-aware systems.
Invoice document
This event carries the invoice metadata. If you need the invoice PDF or a structured EDI document, contact your Danoffice IT account manager to discuss available formats for your account, as Commerce Cloud is not capable of delivering such formats in a webhook request.