Schema Registryby Gluendo
Schema URL — use this in CloudEvents dataschema or as a $ref targethttps://gluendo.github.io/schema-registry/schemas/domains/finance/invoice/v1.1.0/invoice.schema.json
Versions:v1.1.0v1.0.0
urn:gluendo:schema:finance:invoice:v1.1.0

Invoice

Canonical representation of an invoice entity. Produced by ERP or billing systems on invoice lifecycle events (submitted, approved, paid, cancelled).

Properties

FieldTypeDescription
invoiceId*stringUnique invoice identifier as assigned by the source system
invoiceNumberstringHuman-readable invoice number (may differ from invoiceId)
issueDatestringdateDate the invoice was issued (ISO 8601)
dueDatestringdatePayment due date (ISO 8601)
statusenumCurrent invoice status
draftsubmittedapprovedpaidcancelled
supplierIdstringIdentifier of the supplier or vendor
supplierNamestringName of the supplier or vendor
customerIdstringIdentifier of the customer being invoiced
customerNamestringName of the customer being invoiced
totalAmountobjectMonetary AmountTotal invoice amount including taxes
amount*numberThe monetary value. Use the currency's standard decimal precision (e.g., 2 decimals for EUR/USD)
currency*stringISO 4217 currency code
taxAmountobjectMonetary AmountTotal tax amount
amount*numberThe monetary value. Use the currency's standard decimal precision (e.g., 2 decimals for EUR/USD)
currency*stringISO 4217 currency code
lineItemsarray<object>Individual line items on the invoice
description*stringDescription of the goods or services
quantity*numberQuantity of items
exclusiveMinimum: 0
unitPrice*objectMonetary AmountPrice per unit
amount*numberThe monetary value. Use the currency's standard decimal precision (e.g., 2 decimals for EUR/USD)
currency*stringISO 4217 currency code
lineTotalobjectMonetary AmountTotal for this line (quantity x unitPrice)
amount*numberThe monetary value. Use the currency's standard decimal precision (e.g., 2 decimals for EUR/USD)
currency*stringISO 4217 currency code
billingAddressobjectAddressBilling address
streetAddressstringStreet name, number, and any additional line (apt, suite, etc.)
citystringCity or locality name
stateOrProvincestringState, province, region, or equivalent administrative division
postalCodestringPostal or ZIP code
country*stringISO 3166-1 alpha-2 country code
paymentTermsstringPayment terms (e.g., Net 30, Net 60)
purchaseOrderReferencestringReference to the associated purchase order, if applicable