Message: Purchase order

Files

File Type

Download

File Type

Download

JSON Schema

PurchaseOrder.json

API Spec (conformant to OpenAPI Spec)

PurchaseOrder.yml

XML Schema

PurchaseOrder.xsd

JSON Schema

{ "$schema" : "http://json-schema.org/draft-04/schema#", "required" : [ "purchaseOrder" ], "additionalProperties" : false, "properties" : { "purchaseOrder" : { "type" : "object", "additionalProperties" : false, "properties" : { "typeCode" : { "allOf" : [ { "$ref" : "#/definitions/token" }, { "description" : "identifier of the Purchase Order" } ] }, "purchaseOrderHeader" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "lastModificationDateTime" : { "oneOf" : [ { "type" : "null" }, { "allOf" : [ { "$ref" : "#/definitions/dateTime" }, { "description" : "date time when the order was last updated" } ] } ] }, "description" : { "type" : "array", "items" : { "oneOf" : [ { "type" : "null" }, { "allOf" : [ { "$ref" : "#/definitions/string" }, { "description" : "description of the order" } ] } ] } }, "note" : { "type" : "array", "items" : { "oneOf" : [ { "type" : "null" }, { "allOf" : [ { "$ref" : "#/definitions/string" }, { "description" : "Note from the customer to customer service" } ] } ] } }, "status" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "code" : { "$ref" : "#/definitions/normalizedString" } } } }, "customerParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "taxId" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "dunsid" : { "$ref" : "#/definitions/normalizedString" }, "cageid" : { "$ref" : "#/definitions/normalizedString" }, "dodaacid" : { "$ref" : "#/definitions/normalizedString" }, "accountId" : { "type" : "array", "items" : { "oneOf" : [ { "type" : "null" }, { "allOf" : [ { "$ref" : "#/definitions/normalizedString" }, { "description" : "supplier's account identifier for the customer" } ] } ] } }, "name" : { "type" : "array", "items" : { "oneOf" : [ { "type" : "null" }, { "allOf" : [ { "$ref" : "#/definitions/string" }, { "description" : "Customer name" } ] } ] } } } }, "supplierParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "taxId" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "dunsid" : { "$ref" : "#/definitions/normalizedString" }, "cageid" : { "$ref" : "#/definitions/normalizedString" }, "dodaacid" : { "$ref" : "#/definitions/normalizedString" }, "accountId" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } } } }, "shipToParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "location" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "coordinate" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "verticalMeasure" : { "$ref" : "#/definitions/decimal" }, "latitudeMeasure" : { "$ref" : "#/definitions/decimal" }, "longitudeMeasure" : { "$ref" : "#/definitions/decimal" } } } }, "physicalAddress" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "addressLine" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "buildingNumber" : { "$ref" : "#/definitions/string" }, "buildingName" : { "$ref" : "#/definitions/string" }, "cityName" : { "$ref" : "#/definitions/string" }, "countrySubDivisionCode" : { "type" : "array", "items" : { "$ref" : "#/definitions/token" } }, "countryCode" : { "$ref" : "#/definitions/token" }, "postalCode" : { "$ref" : "#/definitions/normalizedString" } } } }, "glnid" : { "$ref" : "#/definitions/normalizedString" } } } }, "contact" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "typeCode" : { "$ref" : "#/definitions/token" }, "personName" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "formattedName" : { "$ref" : "#/definitions/string" } } } } } } } } }, "contractReference" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "totalAmount" : { "oneOf" : [ { "type" : "null" }, { "$ref" : "#/definitions/decimal" } ] }, "billToParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "accountId" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "name" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } } } }, "transportationTerm" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "freightTermCode" : { "$ref" : "#/definitions/token" }, "description" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "note" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } } } } }, "tax" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "typeCode" : { "$ref" : "#/definitions/token" }, "amount" : { "$ref" : "#/definitions/decimal" } } } }, "requestedShipDateTime" : { "$ref" : "#/definitions/dateTime" }, "orderDateTime" : { "$ref" : "#/definitions/dateTime" } } }, "purchaseOrderLine" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { "actionCode" : { "$ref" : "#/definitions/token" }, "lineNumberId" : { "$ref" : "#/definitions/normalizedString" }, "item" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } }, "customerItemIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "manufacturerItemIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "typeCode" : { "$ref" : "#/definitions/token" }, "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "supplierItemIdentification" : { "type" : "object", "additionalProperties" : false, "properties" : { "typeCode" : { "$ref" : "#/definitions/token" }, "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "upcid" : { "$ref" : "#/definitions/normalizedString" }, "gtinid" : { "$ref" : "#/definitions/normalizedString" }, "description" : { "type" : "array", "items" : { "$ref" : "#/definitions/string" } }, "countryOfOriginCode" : { "$ref" : "#/definitions/token" }, "manufacturingParty" : { "type" : "object", "additionalProperties" : false, "properties" : { "id" : { "type" : "array", "items" : { "$ref" : "#/definitions/normalizedString" } } } } } }, "quantity" : { "type" : "array", "items" : { "$ref" : "#/definitions/decimal" } }, "unitPrice" : { "type" : "object", "additionalProperties" : false, "properties" : { } }, "extendedAmount" : { "$ref" : "#/definitions/decimal" }, "totalAmount" : { "$ref" : "#/definitions/decimal" }, "tax" : { "type" : "array", "items" : { "type" : "object", "additionalProperties" : false, "properties" : { } } }, "specialPriceAuthorizationCode" : { "$ref" : "#/definitions/normalizedString" }, "taxExemptCodes" : { "type" : "object", "required" : [ "code" ], "additionalProperties" : false, "properties" : { "code" : { "type" : "array", "minItems" : 1, "items" : { "$ref" : "#/definitions/normalizedString" } } } }, "taxExemptIndicator" : { "$ref" : "#/definitions/xbt_BooleanType" } } } } } } }, "definitions" : { "token" : { "type" : "string" }, "normalizedString" : { "type" : "string" }, "dateTime" : { "type" : "string", "format" : "date-time" }, "string" : { "type" : "string" }, "decimal" : { "type" : "number" }, "xbt_BooleanType" : { "type" : "boolean" } } }

API Spec

--- openapi: "3.0.3" info: title: "" description: "" contact: name: "" url: "" email: "example@example.org" version: "" x-oagis-release: "10.8.3" x-oagis-release-date: "2022-09-30" x-oagis-license: "" paths: /biopharmaceutical/purchase-order: summary: "" description: "" get: summary: "" description: "" tags: - "Purchase Order" parameters: - name: "id" in: "query" description: "" required: false schema: type: "integer" responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/purchaseOrder" post: summary: "" description: "" tags: - "Purchase Order" requestBody: description: "" content: application/json: schema: $ref: "#/components/schemas/purchaseOrder" responses: "200": description: "" content: application/json: {} components: schemas: purchaseOrder: x-oagis-bie-guid: "oagis-id-7fbe9527190c4244a0021a38b56c61e6" x-oagis-bie-date-time: "2022-12-28T20:20:47+0000" x-oagis-bie-version: "" required: - "purchaseOrder" additionalProperties: false properties: purchaseOrder: type: "object" additionalProperties: false properties: typeCode: description: "identifier of the Purchase Order" type: "string" format: "token" purchaseOrderHeader: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" lastModificationDateTime: oneOf: - nullable: true - description: "date time when the order was last updated" type: "string" format: "date-time" description: type: "array" items: oneOf: - nullable: true - description: "description of the order" type: "string" note: type: "array" items: oneOf: - nullable: true - description: "Note from the customer to customer service" type: "string" status: type: "array" items: type: "object" additionalProperties: false properties: code: type: "string" format: "normalizedString" customerParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" taxId: type: "array" items: type: "string" format: "normalizedString" dunsid: type: "string" format: "normalizedString" cageid: type: "string" format: "normalizedString" dodaacid: type: "string" format: "normalizedString" accountId: type: "array" items: oneOf: - nullable: true - description: "supplier's account identifier for the customer" type: "string" format: "normalizedString" name: type: "array" items: oneOf: - nullable: true - description: "Customer name" type: "string" supplierParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" taxId: type: "array" items: type: "string" format: "normalizedString" dunsid: type: "string" format: "normalizedString" cageid: type: "string" format: "normalizedString" dodaacid: type: "string" format: "normalizedString" accountId: type: "array" items: type: "string" format: "normalizedString" name: type: "array" items: type: "string" shipToParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" name: type: "array" items: type: "string" location: type: "array" items: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" coordinate: type: "array" items: type: "object" additionalProperties: false properties: verticalMeasure: type: "number" latitudeMeasure: type: "number" longitudeMeasure: type: "number" physicalAddress: type: "array" items: type: "object" additionalProperties: false properties: addressLine: type: "array" items: type: "string" buildingNumber: type: "string" buildingName: type: "string" cityName: type: "string" countrySubDivisionCode: type: "array" items: type: "string" format: "token" countryCode: type: "string" format: "token" postalCode: type: "string" format: "normalizedString" glnid: type: "string" format: "normalizedString" contact: type: "array" items: type: "object" additionalProperties: false properties: typeCode: type: "string" format: "token" personName: type: "array" items: type: "object" additionalProperties: false properties: formattedName: type: "string" contractReference: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" totalAmount: oneOf: - nullable: true - type: "number" billToParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" accountId: type: "array" items: type: "string" format: "normalizedString" name: type: "array" items: type: "string" transportationTerm: type: "array" items: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" freightTermCode: type: "string" format: "token" description: type: "array" items: type: "string" note: type: "array" items: type: "string" tax: type: "array" items: type: "object" additionalProperties: false properties: typeCode: type: "string" format: "token" amount: type: "number" requestedShipDateTime: type: "string" format: "date-time" orderDateTime: type: "string" format: "date-time" purchaseOrderLine: type: "array" items: type: "object" additionalProperties: false properties: actionCode: type: "string" format: "token" lineNumberId: type: "string" format: "normalizedString" item: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" customerItemIdentification: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" manufacturerItemIdentification: type: "object" additionalProperties: false properties: typeCode: type: "string" format: "token" id: type: "array" items: type: "string" format: "normalizedString" supplierItemIdentification: type: "object" additionalProperties: false properties: typeCode: type: "string" format: "token" id: type: "array" items: type: "string" format: "normalizedString" upcid: type: "string" format: "normalizedString" gtinid: type: "string" format: "normalizedString" description: type: "array" items: type: "string" countryOfOriginCode: type: "string" format: "token" manufacturingParty: type: "object" additionalProperties: false properties: id: type: "array" items: type: "string" format: "normalizedString" quantity: type: "array" items: type: "number" unitPrice: type: "object" additionalProperties: false properties: {} extendedAmount: type: "number" totalAmount: type: "number" tax: type: "array" items: type: "object" additionalProperties: false properties: {} specialPriceAuthorizationCode: type: "string" format: "normalizedString" taxExemptCodes: type: "object" required: - "code" additionalProperties: false properties: code: type: "array" minItems: 1 items: type: "string" format: "normalizedString" taxExemptIndicator: type: "boolean"

XML Schema

<?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.openapplications.org/oagis/10" targetNamespace="http://www.openapplications.org/oagis/10" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xsd:element name="PurchaseOrder"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">Purchase Order which is sent from a Customer to a Supplier</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="1" name="PurchaseOrderHeader"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="LastModificationDateTime" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:dateTime"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">date time when the order was last updated</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Description" nillable="true" minOccurs="0" maxOccurs="unbounded" type="xsd:string"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">description of the order</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Note" nillable="true" minOccurs="0" maxOccurs="unbounded" type="xsd:string"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">Note from the customer to customer service</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Status"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="CustomerParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="TaxID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="DUNSID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="CAGEID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="DODAACID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="AccountID" nillable="true" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">supplier's account identifier for the customer</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Name" nillable="true" minOccurs="0" maxOccurs="unbounded" type="xsd:string"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">Customer name</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="SupplierParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="TaxID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="DUNSID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="CAGEID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="DODAACID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="AccountID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="ShipToParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Location"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Coordinate"> <xsd:complexType> <xsd:sequence> <xsd:element name="VerticalMeasure" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> <xsd:element name="LatitudeMeasure" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> <xsd:element name="LongitudeMeasure" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="PhysicalAddress"> <xsd:complexType> <xsd:sequence> <xsd:element name="AddressLine" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="BuildingNumber" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="BuildingName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CityName" minOccurs="0" maxOccurs="1" type="xsd:string" /> <xsd:element name="CountrySubDivisionCode" minOccurs="0" maxOccurs="unbounded" type="xsd:token" /> <xsd:element name="CountryCode" minOccurs="0" maxOccurs="1" type="xsd:token" /> <xsd:element name="PostalCode" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="GLNID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Contact"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="unbounded" name="PersonName"> <xsd:complexType> <xsd:sequence> <xsd:element name="FormattedName" minOccurs="0" maxOccurs="1" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="typeCode" use="optional" type="xsd:token" /> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="ContractReference"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="TotalAmount" nillable="true" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> <xsd:element minOccurs="0" maxOccurs="1" name="BillToParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="AccountID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="Name" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="TransportationTerm"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element name="FreightTermCode" minOccurs="0" maxOccurs="1" type="xsd:token" /> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="Note" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Tax"> <xsd:complexType> <xsd:sequence> <xsd:element name="Amount" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> </xsd:sequence> <xsd:attribute name="typeCode" use="optional" type="xsd:token" /> </xsd:complexType> </xsd:element> <xsd:element name="RequestedShipDateTime" minOccurs="0" maxOccurs="1" type="xsd:dateTime" /> <xsd:element name="OrderDateTime" minOccurs="0" maxOccurs="1" type="xsd:dateTime" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="unbounded" name="PurchaseOrderLine"> <xsd:complexType> <xsd:sequence> <xsd:element name="LineNumberID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element minOccurs="0" maxOccurs="1" name="Item"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> <xsd:element minOccurs="0" maxOccurs="1" name="CustomerItemIdentification"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="ManufacturerItemIdentification"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> <xsd:attribute name="typeCode" use="optional" type="xsd:token" /> </xsd:complexType> </xsd:element> <xsd:element minOccurs="0" maxOccurs="1" name="SupplierItemIdentification"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> <xsd:attribute name="typeCode" use="optional" type="xsd:token" /> </xsd:complexType> </xsd:element> <xsd:element name="UPCID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="GTINID" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded" type="xsd:string" /> <xsd:element name="CountryOfOriginCode" minOccurs="0" maxOccurs="1" type="xsd:token" /> <xsd:element minOccurs="0" maxOccurs="1" name="ManufacturingParty"> <xsd:complexType> <xsd:sequence> <xsd:element name="ID" minOccurs="0" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="Quantity" minOccurs="0" maxOccurs="unbounded" type="xsd:decimal" /> <xsd:element minOccurs="0" maxOccurs="1" name="UnitPrice"> <xsd:complexType /> </xsd:element> <xsd:element name="ExtendedAmount" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> <xsd:element name="TotalAmount" minOccurs="0" maxOccurs="1" type="xsd:decimal" /> <xsd:element minOccurs="0" maxOccurs="unbounded" name="Tax"> <xsd:complexType /> </xsd:element> <xsd:element name="SpecialPriceAuthorizationCode" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> <xsd:element minOccurs="0" maxOccurs="1" name="TaxExemptCodes"> <xsd:complexType> <xsd:sequence> <xsd:element name="Code" minOccurs="1" maxOccurs="unbounded" type="xsd:normalizedString" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="TaxExemptIndicator" minOccurs="0" maxOccurs="1" type="xbt_BooleanType" /> </xsd:sequence> <xsd:attribute name="actionCode" use="optional" type="xsd:token" /> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="typeCode" use="optional" type="xsd:token"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">identifier of the Purchase Order</xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element> <xsd:simpleType name="xbt_BooleanType"> <xsd:annotation> <xsd:documentation source="http://www.openapplications.org/oagis/10">Use literal true/false for boolean.</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:boolean"> <xsd:pattern value="false" /> <xsd:pattern value="true" /> </xsd:restriction> </xsd:simpleType> </xsd:schema>