AsyncAPI specification for invoicing domain events published by Grabby. JSON Schema files under schemas/ are the authoritative contract. Every message uses the common integration envelope (schemas/common/integration_envelope.v1.schema.json); event-specific business data is embedded in the envelope payload field.
Channel carrying all invoicing domain events from Grabby.
Grabby publishes InvoiceRequestWasCreated when a new invoice request is created.
Accepts the following message:
Full invoice-request snapshot emitted after creation.
Envelope carrying a newly created invoice request
{
"specVersion": "1",
"messageId": "7b9f1c34-1c2d-4f7a-9b2e-2c3a4d5e6f70",
"eventType": "InvoiceRequestWasCreated",
"eventVersion": 1,
"producer": "grabby",
"occurredAt": "2026-09-04T13:53:33Z",
"aggregateType": "InvoiceRequest",
"aggregateId": "01a06cb2-3668-710e-9fa8-9f4ab7cff8c4",
"payload": {
"id": "01a06cb2-3668-710e-9fa8-9f4ab7cff8c4",
"number": "altkatest25-09-04-7",
"status": "posted",
"vendorId": "1252",
"plantCode": "1001",
"companyCode": "MTC",
"documentDate": "2026-08-18",
"originalFile": "1252_Invoice_With_Buyer_altkatest260904-7-wrong.pdf",
"sourceOfSupply": "019f4baa-53dd-70a3-9d1d-984a2b207014",
"materialReceived": "2026-09-04 13:53:33",
"businessPlaceCode": "D001"
}
}
Channel carrying all invoicing domain events from Grabby.
Grabby publishes InvoiceRequestWasUpdated when an existing invoice request is updated.
Accepts the following message:
Full invoice-request snapshot emitted after an update.
Envelope carrying an updated invoice request
{
"specVersion": "1",
"messageId": "4ea5a22c-0d83-4a30-85c4-8cf31d6ffd1d",
"eventType": "InvoiceRequestWasUpdated",
"eventVersion": 1,
"producer": "grabby",
"occurredAt": "2026-09-04T13:53:33Z",
"aggregateType": "InvoiceRequest",
"aggregateId": "01a06cb2-3668-710e-9fa8-9f4ab7cff8c4",
"payload": {
"id": "01a06cb2-3668-710e-9fa8-9f4ab7cff8c4",
"number": "altkatest25-09-04-7",
"status": "posted",
"vendorId": "1252",
"plantCode": "1001",
"companyCode": "MTC",
"documentDate": "2026-08-18",
"originalFile": "1252_Invoice_With_Buyer_altkatest260904-7-wrong.pdf",
"sourceOfSupply": "019f4baa-53dd-70a3-9d1d-984a2b207014",
"materialReceived": "2026-09-04 13:53:33",
"businessPlaceCode": "D001"
}
}
Full invoice-request snapshot emitted after creation.
Full invoice-request snapshot emitted after an update.