SAP Ariba · Schema
SAP Ariba Purchase Order
JSON Schema for an SAP Ariba Purchase Order document representing a buyer's commitment to purchase goods or services from a supplier through the SAP Business Network. Based on the SAP Ariba Procurement API data model documented at https://help.sap.com/docs/ariba-apis and the Purchase Order web service schemas.
B2BContract ManagementProcurementSourcingSpend AnalysisSupplier ManagementSupply Chain
Properties
| Name | Type | Description |
|---|---|---|
| orderId | string | Unique purchase order identifier (UniqueName) including version number. This is the primary key for the purchase order in SAP Ariba. |
| erpPONumber | string | ERP system purchase order number (ERPPONumber). Defines the unique ID for every version of the purchase order in the backend ERP system. |
| versionNumber | integer | Supplemental version number of the original order. Incremented with each change request or modification. |
| orderDate | string | Date and time when the purchase order was created (ISO 8601 format). |
| status | string | Current status of the purchase order in the procurement lifecycle. |
| orderMethodCategory | string | Defines the ordering method category for the purchase order indicating how it was generated (e.g., manual entry, automatic from requisition, blanket release). |
| supplier | object | The supplier from whom goods or services are being purchased. |
| buyer | object | The buyer organization placing the purchase order. |
| currency | string | ISO 4217 currency code defining the type of currency used for the purchase order. |
| totalAmount | object | Total monetary value of the purchase order including all line items. |
| taxAmount | object | Total tax amount for the purchase order. |
| shippingAmount | object | Total shipping and handling charges. |
| paymentTerms | object | Payment terms governing when and how invoices against this order should be paid. References the unique payment terms code assigned to the supplier. |
| purchaseOrg | string | Purchasing organization identifier (PurchaseOrg/UniqueName). Defines the unique purchase organization responsible for this order. |
| purchaseGroup | string | Purchasing group identifier (PurchaseGroup/UniqueName). Defines the unique purchase group handling this order. |
| companyCode | string | Company code for the buying legal entity. |
| shipTo | object | Default shipping address for the purchase order. Can be overridden at the line item level. |
| billTo | object | Billing address for invoice submission. |
| lineItems | array | Line items contained in the purchase order. Each line item represents a specific good or service being procured. |
| deletedLineItems | array | Line items that have been deleted in a change order. Contains the line numbers of removed items. |
| requisitionId | string | Reference to the originating purchase requisition that generated this order. |
| contractId | string | Reference to a master agreement or contract against which this order is placed. |
| comments | string | Header-level comments or notes on the purchase order. |
| headerText | array | Structured header text elements for SAP integration. |
| customFields | object | Custom field extensions for organization-specific data requirements. |
| createdDate | string | Timestamp when the order was first created in the system. |
| lastModifiedDate | string | Timestamp of the most recent modification. |
| closedDate | string | Timestamp when the order was closed. |