Schema Registryby Gluendo
Versions:v1.0.0
urn:gluendo:schema:supply-chain:purchase-order:v1.0.0

Purchase Order

Canonical representation of a purchase order entity. Produced by procurement or ERP systems on purchase order lifecycle events (created, approved, received, closed).

Properties

FieldTypeDescription
purchaseOrderId*stringUnique purchase order identifier
orderNumberstringHuman-readable PO number
statusenumCurrent purchase order status
draftpending-approvalapprovedpartially-receivedreceived
orderDatestringdateDate the PO was created (ISO 8601)
expectedDeliveryDatestringdateExpected delivery date (ISO 8601)
supplierIdstringIdentifier of the supplier
supplierNamestringName of the supplier
requesterIdstringIdentifier of the person or department that requested the purchase
shippingAddressobjectAddressDelivery 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
totalAmountobjectMonetary AmountTotal PO 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>Ordered items
lineNumberintegerLine item number
description*stringDescription of the item
skustringStock keeping unit or product code
quantity*numberOrdered quantity
exclusiveMinimum: 0
unitPriceobjectMonetary 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
receivedQuantitynumberQuantity received so far
notesstringFree-text notes or special instructions
tagsarray<object>Metadata tags for categorization
maxItems: 50
key*stringTag key: alphanumeric, hyphens, and underscores allowed
pattern: ^[a-zA-Z0-9_-]{1,64}$maxLength: 64
value*stringTag value
maxLength: 256