<?xml version="1.0" encoding="utf-8"?> <Order xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- (string, 32) Order number in Basware P2P. --> <OrderNumber>PO-20-000005</OrderNumber> <!-- (string, 100, optional) Order number in external system (for imported orders). --> <ExtOrderNumber>SAP-PO-213451</ExtOrderNumber> <!-- (string, 100) External identifier - used as a key to identiy the order. --> <ExternalCode>25075ccafbe04b1ba876a815d1748961</ExternalCode> <!-- (string, 15) Specifies order sending type (method which Basware P2P uses to send order to supplier when the order is placed). Available values: EMail, Basware Network, SmartOrder. --> <OrderType>SmartOrder</OrderType> <!-- (string, 18) OrderStatus, supported values: "ReadyForOrder", "Ordered", "SupplierRejected", "SupplierConfirmed", "ModifiedBySupplier", "PartiallyReceived", "Received", "Canceled", "Rejected", "Closed" --> <OrderStatus>Received</OrderStatus> <!-- (string, 32, optional) Supplier id --> <SupplierId>c9f6ab3e356e4f6d83a6aabf00d66f63</SupplierId> <!-- (string, 32, optional) Supplier code to whom the order is addressed. --> <SupplierCode>10280</SupplierCode> <!-- (string, 255, optional) Supplier name to whom the order is addressed. --> <SupplierName>ACME goods and gadgets inc</SupplierName> <!-- (string, 0-1800, optional) Supplier email address --> <SupplierEmailAddress>john.smith@suppliercompany.com</SupplierEmailAddress> <!-- (string, 250, optional) Order classification code. Values are specified by customer. Often used to group orders and assign groups for handling by different persons. --> <PurchaseClassification>IT equipment</PurchaseClassification> <!-- (string, 32) Organization unit id --> <OrganizationUnitId>07199e4a189646d58e3eaabf00d5cdbd</OrganizationUnitId> <!-- (dateTime) Order export time --> <ExportTime>2022-08-03T11:55:48.923838Z</ExportTime> <!-- (dateTime) Order creation time --> <CreationTime>2020-09-30T11:03:03.287703</CreationTime> <!-- (string, 32) Order creator id --> <CreatorId>f7914539d90447da80c7aabf008a14f9</CreatorId> <!-- (string, 227) Order creator name --> <Creator>White Mary</Creator> <!-- (string, 250, optional) Reason for cancelling order (if order is cancelled). --> <CancellationNote></CancellationNote> <!-- (string, 2000, optional) Order note --> <Note></Note> <!-- (string, 250, optional) Sales order id --> <SalesOrderID></SalesOrderID> <!-- (date) Delivery date provided by supplier. --> <PromisedDeliveryDate>2012-12-13</PromisedDeliveryDate> <!-- (dateTime) Delivery date requested by buyer. --> <DesiredDeliveryDate>2020-09-30T00:00:00</DesiredDeliveryDate> <!-- (string, 250, optional) Order payment term code. --> <PaymentTermCode>NT14</PaymentTermCode> <!-- (string, 2000, optional) Order payment term name. --> <PaymentTermName>14 days net</PaymentTermName> <!-- (string, 100, optional) Delivery term. Generally Incoterms (International Commercial Terms) are used here, however customer and supplier can also agree to use different sets of delivery terms. --> <DeliveryTerms>CAT</DeliveryTerms> <!-- (string, 2000, optional) Last comment --> <LastComment></LastComment> <!-- (string, 25, optional) Purchasing group code --> <PurchasingGroupCode>1270</PurchasingGroupCode> <!-- (string, 250, optional) Purchasing group name --> <PurchasingGroupName>Office equipment</PurchasingGroupName> <!-- (string, 250, optional) Details on Delivery. --> <DeliveryLocation></DeliveryLocation> <!-- (string, 2000, optional) Note to supplier concerning this order. This is sent to supplier when order is placed. --> <NoteToSupplier>Please deliver to 2nd floor</NoteToSupplier> <!-- (decimal) Gross sum of order in order currency (=purchaseCurrency). --> <GrossSum>1250</GrossSum> <!-- (decimal) Gross sum of order in company currency. --> <GrossSumComp>1250</GrossSumComp> <!-- (decimal) Gross sum of order in company currency. --> <GrossSumOrg>1250</GrossSumOrg> <!-- (decimal) Net sum of order in order currency (=purchaseCurrency). --> <NetSum>1000</NetSum> <!-- (decimal) Net sum of order in company currency. --> <NetSumComp>1000</NetSumComp> <!-- (decimal) Net sum of order in organization currency. --> <NetSumOrg>1000</NetSumOrg> <!-- (decimal) Tax sum of order in order currency (=purchaseCurrency). --> <TaxSum>250</TaxSum> <!-- (decimal) Tax sum of order in company currency. --> <TaxSumComp>250</TaxSumComp> <!-- (decimal) Tax sum of order in company currency. --> <TaxSumOrg>250</TaxSumOrg> <!-- (string, 255, optional) Reference to contract that this order relates to. --> <ContractNumber>1201</ContractNumber> <!-- (string, 25, optional) P2P company code for buyer organisation unit. --> <OrganizationUnitCode>01</OrganizationUnitCode> <!-- (string, 250, optional) P2P company name for buyer organisation unit. --> <OrganizationUnitName>Basware Oy</OrganizationUnitName> <!-- (string, 227, optional) Owner name --> <Owner>White Mary</Owner> <!-- (string, 255, optional) Receiving contact name --> <DeliveryReceiver>White Mary</DeliveryReceiver> <!-- (string, 2000, optional) Reason why order is placed. --> <Purpose>Developer laptops</Purpose> <!-- (string, 32, optional) P2P company code for buyer company. --> <CompanyCode>01</CompanyCode> <!-- (string, 255, optional) P2P company name for buyer company. --> <CompanyName>Basware Oy</CompanyName> <!-- (string, 100, optional) Requisition number of related requisition in external system (for imported requisitions). --> <ExtPurchaseRequisitionNumber></ExtPurchaseRequisitionNumber> <!-- (string, 25, optional) Currency code for currency in which the order is placed. --> <PurchaseCurrency>EUR</PurchaseCurrency> <!-- (string, 25, optional) Currency code of the company in P2P for which the order is placed. --> <CompanyCurrency>EUR</CompanyCurrency> <!-- (string, 25, optional) Currency code of the group / organization in P2P for which the order is placed. The group is a parent-level entity to the company in P2P. --> <GroupCurrency>EUR</GroupCurrency> <!-- (string, 250, optional) HeaderDataText1-5: Can be used for for customer-specific numeric fields. --> <HeaderDataText1></HeaderDataText1> <!-- (string, 250, optional) --> <HeaderDataText2></HeaderDataText2> <!-- (string, 250, optional) --> <HeaderDataText3></HeaderDataText3> <!-- (string, 250, optional) --> <HeaderDataText4></HeaderDataText4> <!-- (string, 250, optional) --> <HeaderDataText5></HeaderDataText5> <!-- (decimal) HeaderDataNum1-5: Can be used for for customer-specific numeric fields. --> <HeaderDataNum1></HeaderDataNum1> <!-- (decimal) --> <HeaderDataNum2></HeaderDataNum2> <!-- (decimal) --> <HeaderDataNum3></HeaderDataNum3> <!-- (decimal) --> <HeaderDataNum4></HeaderDataNum4> <!-- (decimal) --> <HeaderDataNum5></HeaderDataNum5> <!-- (date) HeaderDataDate1-5: Reserved for customer-specific date fields. --> <HeaderDataDate1></HeaderDataDate1> <!-- (date) --> <HeaderDataDate2></HeaderDataDate2> <!-- (date) --> <HeaderDataDate3></HeaderDataDate3> <!-- (date) --> <HeaderDataDate4></HeaderDataDate4> <!-- (date) --> <HeaderDataDate5></HeaderDataDate5> <!-- (dateTime) Buyer requested latest delivery date. --> <DesiredDeliveryEndDate>2020-09-30T00:00:00</DesiredDeliveryEndDate> <!-- (string, 255, optional) Supplier contact name to whom the order is addressed. --> <SupplierContactName>Green Joe</SupplierContactName> <!-- (string, 60, optional) Supplier contact telephone --> <SupplierContactTelephone></SupplierContactTelephone> <!-- (string, 60, optional) Supplier contact fax --> <SupplierContactFax></SupplierContactFax> <!-- (string, 320, optional) Supplier contact email --> <SupplierContactEmail></SupplierContactEmail> <!-- (date) Supplier confirmed deliverytime. --> <PromisedDeliveryEndDate>2012-12-13</PromisedDeliveryEndDate> <DeliveryAddress> <!-- (string, 255, optional) Specifies the address’ name for the goods delivery. --> <Name>Maple street office</Name> <!-- (string, 255, optional) PO box --> <PostBox></PostBox> <!-- (string, 255, optional) Street name. --> <StreetName>Maple street</StreetName> <!-- (string, 255, optional) Additional street name. --> <AdditionalStreetName></AdditionalStreetName> <!-- (string, 255, optional) Block name. --> <BlockName></BlockName> <!-- (string, 255, optional) Building name. --> <BuildingName></BuildingName> <!-- (string, 255, optional) Building number. --> <BuildingNumber>68</BuildingNumber> <!-- (string, 255, optional) Department. --> <Department></Department> <!-- (string, 255, optional) Floor. --> <Floor></Floor> <!-- (string, 255, optional) Room. --> <Room></Room> <!-- (string, 255, optional) Postal zone. --> <PostalZone>02600</PostalZone> <!-- (string, 255, optional) City. --> <City>Toronto</City> <!-- (string, 255, optional) Region. --> <Region></Region> <!-- (string, 255, optional) District. --> <District></District> <!-- (string, 255, optional) Country code. --> <CountryCode>CA</CountryCode> <!-- (string, 255, optional) Country name. --> <CountryName>Canada</CountryName> <!-- (string, 1000, optional) Description. --> <Description></Description> <!-- (string, 13, optional) Global location number. --> <GlobalLocationNumber>1234567890128</GlobalLocationNumber> <!-- (string, 2000, optional) AddressId. --> <AddressId>12345</AddressId> <!-- (string, 2000, optional) AddressSchemeId. --> <AddressSchemeId>abcdef</AddressSchemeId> </DeliveryAddress> <OrderRows> <OrderLine> <!-- (string, 100) ERP Line Id --> <ExternalCode>a32b44861433487f99bf83b61b6179b5</ExternalCode> <!-- (string, 32) Product id --> <ProductId>458a1bbc-17be-4f86-b025-588dbbf283a5</ProductId> <!-- (string, 19) Specifies how the order line got created - from "FreeText", "PurchaseInstruction", "Punchout", "CostLine", "Marketplace". --> <ProductType>FreeText</ProductType> <!-- (string, 18) Order line status, supported values: "ReadyForOrder", "Ordered", "SupplierRejected", "SupplierConfirmed", "ModifiedBySupplier", "PartiallyReceived", "Received", "Canceled", "Rejected", "Closed" --> <LineStatus>Received</LineStatus> <!-- (int) Order line number --> <LineNumber>1</LineNumber> <!-- (int) Order line number --> <OrderLineNumber>1</OrderLineNumber> <!-- (string, 250, optional) Payment term code --> <PaymentTermCode>NT14</PaymentTermCode> <!-- (string, 250, optional) Order line custom buyer product code --> <CustomBuyerProductCode>126570</CustomBuyerProductCode> <!-- (string, 250, optional) Order line order custom buyer product code --> <OrderCustomBuyerProductCode>126570</OrderCustomBuyerProductCode> <!-- (string, 100, optional) Delivery term code. Generally Incoterms (International Commercial Terms) are used here, however customer and supplier can also agree to use different sets of delivery terms. --> <DeliveryTermCode>CAT</DeliveryTermCode> <!-- (string, 2000, optional) Order payment term name. --> <PaymentTermName>14 days net</PaymentTermName> <!-- (string, 250, optional) Reason for cancelling order line (if line is cancelled). --> <CancellationNote></CancellationNote> <!-- (string, 250, optional) Order line note --> <Note></Note> <!-- (string, 250, optional) Delivery instruction for supplier. --> <DeliveryInstruction></DeliveryInstruction> <!-- (date) Delivery date provided by supplier. --> <PromisedDeliveryDate>2012-12-13</PromisedDeliveryDate> <!-- (dateTime) Delivery date requested by buyer. --> <DesiredDeliveryDate>2020-09-30T00:00:00</DesiredDeliveryDate> <!-- (string, 100, optional) Requisition number of related requisition in external system (for imported requisitions). --> <ExtPurchaseRequisitionNumber></ExtPurchaseRequisitionNumber> <!-- (string, 64, optional) Product classification code (UNSPC). --> <UNSPSC></UNSPSC> <!-- (string, 100, optional) PO Line type. This can be freely defined by customer. --> <POlineType></POlineType> <!-- (string, 100, optional) Material group --> <MaterialGroup></MaterialGroup> <!-- (string, 100, optional) Plant --> <Plant></Plant> <!-- (string, 100, optional) Storage location --> <StorageLocation></StorageLocation> <!-- (string, 100, optional) Goods receipt based invoicing --> <GoodsReceiptBasedInvoicing></GoodsReceiptBasedInvoicing> <!-- (string, 100, optional) Note for receiving goods. --> <GRNote></GRNote> <!-- (string, 100, optional) Goods receipt indicator. Not used by P2P (reserved for later use) --> <GRIndicator></GRIndicator> <!-- (string, 250, optional) Delivery location --> <DeliveryLocation></DeliveryLocation> <!-- (string, 2000, optional) Note received from supplier concerning order line. --> <NoteFromSupplier></NoteFromSupplier> <!-- (string, 2000, optional) Note sent to supplier concerning this order line. Sent to supplier when order is placed. --> <NoteToSupplier></NoteToSupplier> <!-- (string, 100, optional) The supplier classification code of supplier used on the order line. Populated from supplier data, if available. --> <DefaultSupplierClassificationCode></DefaultSupplierClassificationCode> <!-- (string, 255, optional) The supplier classification name of supplier used on the order line. Populated from supplier data, if available. --> <DefaultSupplierClassificationName></DefaultSupplierClassificationName> <!-- (string, 2000, optional) Product description. --> <Description>Laptops for new developers</Description> <!-- (string, 250, optional) Order line buyer product code --> <OrderBuyerProductCode>126570</OrderBuyerProductCode> <!-- (string, 250) Order line order buyer product name --> <OrderBuyerProductName>15" laptop</OrderBuyerProductName> <!-- (string, 250) Order line supplier product name --> <OrderSupplierProductName>15" laptop</OrderSupplierProductName> <!-- (string, 250, optional) Product code used by buyer. --> <BuyerProductCode>126570</BuyerProductCode> <!-- (string, 250, optional) Order line buyer product name --> <BuyerProductName>15" laptop</BuyerProductName> <!-- (string, 227, optional) Order line owner name --> <Owner>White Mary</Owner> <!-- (string, 32, optional) Order line standard assignee id --> <OrderStandardAssigneeId></OrderStandardAssigneeId> <!-- (string, 250, optional) Order line standard assignee name --> <OrderStandardAssigneeName></OrderStandardAssigneeName> <!-- (string, 350, optional) Order line category code and category name --> <Category>10100000, Work equipment</Category> <!-- (string, 250, optional) Category name linked to product. --> <CategoryName>Work equipment</CategoryName> <!-- (string, 100, optional) Order line category code --> <OrderCategoryCode>10100000</OrderCategoryCode> <!-- (string, 250, optional) Order line category name --> <OrderCategoryName>Work equipment</OrderCategoryName> <!-- (string, 32, optional) Order line supplier code --> <Supplier>10280</Supplier> <!-- (string, 255, optional) Order line supplier name --> <SupplierName>ACME goods and gadgets inc</SupplierName> <!-- (string, 50, optional) Product code used by supplier. --> <SupplierProductCode>639120</SupplierProductCode> <!-- (string, 250, optional) Product name used by supplier. --> <SupplierProductName>15" laptop</SupplierProductName> <!-- (string, optional) Field is not used (reserved for future use). --> <Recipient></Recipient> <!-- (string, 250, optional) Order line delivery term code --> <DeliveryTerms>CAT</DeliveryTerms> <!-- (string, 10, optional) Unit code for ordered quantity (pcs, kg, litre, boxes, etc). --> <QuantityUnit>PCS</QuantityUnit> <!-- (string, 250, optional) Description for quantityUnit. --> <QuantityUnitName>One</QuantityUnitName> <!-- (string, 250, optional) LineDataText1-5 can be used for customer-specific text fields. These fields are from ‘Line data’ -tab of the order line in P2P. --> <LineDataText1></LineDataText1> <!-- (string, 250, optional) --> <LineDataText2></LineDataText2> <!-- (string, 250, optional) --> <LineDataText3></LineDataText3> <!-- (string, 250, optional) --> <LineDataText4></LineDataText4> <!-- (string, 250, optional) --> <LineDataText5></LineDataText5> <!-- (decimal) LineDataNum1-5 can be used for customer-specific numeric fields. These fields are from ‘Line data’ -tab of the order line in P2P. --> <LineDataNum1></LineDataNum1> <!-- (decimal) --> <LineDataNum2></LineDataNum2> <!-- (decimal) --> <LineDataNum3></LineDataNum3> <!-- (decimal) --> <LineDataNum4></LineDataNum4> <!-- (decimal) --> <LineDataNum5></LineDataNum5> <!-- (date) LineDataDate1-5 can be used for customer-specific date fields. These fields are from ‘Line data’ -tab of the order line in P2P. --> <LineDataDate1></LineDataDate1> <!-- (date) --> <LineDataDate2></LineDataDate2> <!-- (date) --> <LineDataDate3></LineDataDate3> <!-- (date) --> <LineDataDate4></LineDataDate4> <!-- (date) --> <LineDataDate5></LineDataDate5> <!-- (decimal) Ordered quantity. --> <Quantity>1</Quantity> <!-- (decimal) Tax percent 1. --> <TaxPercent>25</TaxPercent> <!-- (decimal) Tax percent 2. Can be used for example for handling reverse charges on EU VAT. --> <TaxPercent2>0</TaxPercent2> <!-- (decimal) Percentage of discount on order line. --> <DiscountPercent>0</DiscountPercent> <!-- (string, 250, optional) Reason for discount. --> <DiscountPercentReason></DiscountPercentReason> <!-- (string, 25, optional) Order price line currency code --> <CurrencyCode>EUR</CurrencyCode> <!-- (string, 25, optional) Order price line currency code comp --> <CurrencyComp>EUR</CurrencyComp> <!-- (string, 25, optional) Order price line currency code org --> <CurrencyOrg>EUR</CurrencyOrg> <!-- (decimal) Order price line exchange rate comp --> <ExchangeRateComp>1</ExchangeRateComp> <!-- (decimal) Order price line exchange rate org --> <ExchangeRateOrg>1</ExchangeRateOrg> <!-- (decimal) Net unit price in purchasing currency (without discount). --> <NetUnitPrice>1000</NetUnitPrice> <!-- (decimal) Gross unit price in purchasing currency (without discount). --> <GrossUnitPrice>1250</GrossUnitPrice> <!-- (decimal) Net unit price in purchasing currency (with discount). --> <NetPrice>1000</NetPrice> <!-- (decimal) Gross unit price in purchasing currency (with discount). --> <GrossPrice>1250</GrossPrice> <!-- (decimal) Net sum in purchasing currency (including discount). --> <NetSum>1000</NetSum> <!-- (decimal) Gross sum in purchasing currency (including discount). --> <GrossSum>1250</GrossSum> <!-- (decimal) Total tax sum in purchasing currency. --> <TaxTotal>250</TaxTotal> <!-- (decimal) Tax sum 1 in purchasing currency. --> <Tax1Sum>250</Tax1Sum> <!-- (decimal) Tax sum 2 in purchasing currency. --> <Tax2Sum>0</Tax2Sum> <!-- (string, 32, optional) Tax code. --> <TaxCode>T25</TaxCode> <!-- (string, 25, optional) Tax category. --> <TaxCategory></TaxCategory> <!-- (string, 5) Specifies whether price been originally net or gross. Supported values: "Net", "Gross". --> <PriceType>Net</PriceType> <!-- (decimal) Net unit price in organization currency (without discount). --> <NetUnitPriceComp>1000</NetUnitPriceComp> <!-- (decimal) Gross unit price in company currency (without discount). --> <GrossUnitPriceComp>1250</GrossUnitPriceComp> <!-- (decimal) Net unit price in company currency (with discount). --> <NetPriceComp>1000</NetPriceComp> <!-- (decimal) Gross unit price in company currency (with discount). --> <GrossPriceComp>1250</GrossPriceComp> <!-- (decimal) Net sum in company currency (including discount). --> <NetSumComp>1000</NetSumComp> <!-- (decimal) Gross sum in company currency (including discount). --> <GrossSumComp>1250</GrossSumComp> <!-- (decimal) Total tax sum in company currency. --> <TaxTotalComp>250</TaxTotalComp> <!-- (decimal) Tax sum 1 in company currency. --> <Tax1SumComp>250</Tax1SumComp> <!-- (decimal) Tax sum 2 in company currency. --> <Tax2SumComp>0</Tax2SumComp> <!-- (decimal) Net unit price in company currency (without discount). --> <NetUnitPriceOrg>1000</NetUnitPriceOrg> <!-- (decimal) Gross unit price in organization currency (without discount). --> <GrossUnitPriceOrg>1250</GrossUnitPriceOrg> <!-- (decimal) Net unit price in organization currency (with discount). --> <NetPriceOrg>1000</NetPriceOrg> <!-- (decimal) Gross unit price in organization currency (with discount). --> <GrossPriceOrg>1250</GrossPriceOrg> <!-- (decimal) Net sum in organization currency (including discount). --> <NetSumOrg>1000</NetSumOrg> <!-- (decimal) Gross sum in organization currency (including discount). --> <GrossSumOrg>1250</GrossSumOrg> <!-- (decimal) Total tax sum in organization currency. --> <TaxTotalOrg>250</TaxTotalOrg> <!-- (decimal) Tax sum 1 in organization currency. --> <Tax1SumOrg>250</Tax1SumOrg> <!-- (decimal) Tax sum 2 in organization currency. --> <Tax2SumOrg>0</Tax2SumOrg> <!-- (string, 100, optional) Category code linked to product. --> <CategoryCode>10100000</CategoryCode> <!-- (string, 100, optional) Sub unit of measure. --> <SubUom></SubUom> <!-- (string, 25, optional) Order price line price unit --> <PriceUnit></PriceUnit> <!-- (string, 250, optional) Order price line price unit description --> <PriceUnitDescription></PriceUnitDescription> <!-- (decimal) Factor for conversions. --> <ConversionNumerator>0</ConversionNumerator> <!-- (decimal) Factor for conversions. --> <ConversionDenumerator>0</ConversionDenumerator> <!-- (string, 25, optional) Tax juristiction code. --> <TaxJurisdictionCode></TaxJurisdictionCode> <!-- (decimal) optional) --> <DiscountAmount></DiscountAmount> <!-- (decimal) Field is not used (reserved for future use). --> <Tax1Amount></Tax1Amount> <!-- (decimal) Field is not used (reserved for future use). --> <Tax2Amount></Tax2Amount> <!-- (string, 250, optional) LinePricingText1-5 can be used for customer-specific text fields. These fields are from ‘Pricing’ -tab of the order line in P2P. --> <LinePricingText1></LinePricingText1> <!-- (string, 250, optional) --> <LinePricingText2></LinePricingText2> <!-- (string, 250, optional) --> <LinePricingText3></LinePricingText3> <!-- (string, 250, optional) --> <LinePricingText4></LinePricingText4> <!-- (string, 250, optional) --> <LinePricingText5></LinePricingText5> <!-- (decimal) LinePricingNum1-5 can be used for customer-specific numeric fields. These fields are from ‘Pricing’ -tab of the order line in P2P. --> <LinePricingNum1></LinePricingNum1> <!-- (decimal) --> <LinePricingNum2></LinePricingNum2> <!-- (decimal) --> <LinePricingNum3></LinePricingNum3> <!-- (decimal) --> <LinePricingNum4></LinePricingNum4> <!-- (decimal) --> <LinePricingNum5></LinePricingNum5> <!-- (date) LinePricingDate1-5 can be used for customer-specific date fields. These fields are from ‘Pricing’ -tab of the order line in P2P. --> <LinePricingDate1></LinePricingDate1> <!-- (date) --> <LinePricingDate2></LinePricingDate2> <!-- (date) --> <LinePricingDate3></LinePricingDate3> <!-- (date) --> <LinePricingDate4></LinePricingDate4> <!-- (date) --> <LinePricingDate5></LinePricingDate5> <!-- (string, 50, optional) Order line supplier product code --> <OrderSupplierProductCode>639120</OrderSupplierProductCode> <!-- (dateTime) Buyer requested end date for delivery. --> <DesiredDeliveryEndDate>2020-09-30T00:00:00</DesiredDeliveryEndDate> <!-- (string, 2000, optional) Order line product additional data --> <ProductAdditionalData></ProductAdditionalData> <!-- (date) Delivery end date provided by supplier. --> <PromisedDeliveryEndDate>2012-12-13</PromisedDeliveryEndDate> <!-- (string, 35, optional) Reference to quote related to order line. --> <QuoteReference></QuoteReference> <!-- (decimal) Specifies if order line will be received automatically. True - Order line will be automatically received (no user input required) False - Order line will not be automatically received. --> <ReceiveAutomatically>0</ReceiveAutomatically> <!-- (string, 255, optional) LeadTime defines how long (number of days) would it take for goods to arrive after the order has been placed. Should be stated as whole numbers (“1”, “2”) not (“one”, “two”) --> <LeadTime>10</LeadTime> <!-- (string, 255, optional) ManufacturerProductCode is item's ID provided by the manufacturer. --> <ManufacturerProductCode>Agent-1</ManufacturerProductCode> <DeliveryAddress> <!-- (string, 255, optional) Specifies the address’ name for the goods delivery. --> <Name>Maple street office</Name> <!-- (string, 255, optional) PO box --> <PostBox></PostBox> <!-- (string, 255, optional) Street name. --> <StreetName>Maple street</StreetName> <!-- (string, 255, optional) Additional street name. --> <AdditionalStreetName></AdditionalStreetName> <!-- (string, 255, optional) Block name. --> <BlockName></BlockName> <!-- (string, 255, optional) Building name. --> <BuildingName></BuildingName> <!-- (string, 255, optional) Building number. --> <BuildingNumber>68</BuildingNumber> <!-- (string, 255, optional) Department. --> <Department></Department> <!-- (string, 255, optional) Floor. --> <Floor></Floor> <!-- (string, 255, optional) Room. --> <Room></Room> <!-- (string, 255, optional) Postal zone. --> <PostalZone>02600</PostalZone> <!-- (string, 255, optional) City. --> <City>Toronto</City> <!-- (string, 255, optional) Region. --> <Region></Region> <!-- (string, 255, optional) District. --> <District></District> <!-- (string, 255, optional) Country code. --> <CountryCode>CA</CountryCode> <!-- (string, 255, optional) Country name. --> <CountryName>Canada</CountryName> <!-- (string, 1000, optional) Description. --> <Description></Description> <!-- (string, 13, optional) Global location number. --> <GlobalLocationNumber></GlobalLocationNumber> </DeliveryAddress> <CodingRows> <CodingRow> <!-- (string, 100) Order line coding erp coding line id --> <ExternalCode>51168796a5c54f0390bdc56aed3f85f7</ExternalCode> <!-- (string, 25, optional) Account code. --> <AccountCode>18620</AccountCode> <!-- (string, 2000, optional) Account name. --> <AccountName>Machinery purchases</AccountName> <!-- (string, 25, optional) Cost center code. --> <CostCenterCode>10000</CostCenterCode> <!-- (string, 2000, optional) Cost center name. --> <CostCenterName>Toronto consulting</CostCenterName> <!-- (string, 25, optional) Project code. --> <ProjectCode></ProjectCode> <!-- (string, 255, optional) Project name. --> <ProjectName></ProjectName> <!-- (decimal) Percentage of order line's cost which this coding row covers (cost can be split between coding lines). --> <SplitPercent>100</SplitPercent> <!-- (integer) Purchase internal coding row number. --> <RowIndex>1</RowIndex> <!-- (string, 25, optional) Work order code. --> <WorkOrderCode></WorkOrderCode> <!-- (string, 250, optional) Work order name. --> <WorkOrderName></WorkOrderName> <!-- (string, 25, optional) Work order sub code. --> <WorkOrderSubCode></WorkOrderSubCode> <!-- (string, 250, optional) Work order sub name. --> <WorkOrderSubName></WorkOrderSubName> <!-- (string, 25, optional) Fixed asset code. --> <FixedAssetsCode></FixedAssetsCode> <!-- (string, 250, optional) Fixed asset name. --> <FixedAssetsName></FixedAssetsName> <!-- (string, 25, optional) Fixed asset sub code. --> <FixedAssetsSubCode></FixedAssetsSubCode> <!-- (string, 250, optional) Fixed assets sub name. --> <FixedAssetsSubName></FixedAssetsSubName> <!-- (string, 25, optional) Internal order code. --> <InternalOrderCode></InternalOrderCode> <!-- (string, 250, optional) Internal order name. --> <InternalOrderName></InternalOrderName> <!-- (string, 25, optional) Profit center code. --> <ProfitCenterCode></ProfitCenterCode> <!-- (string, 250, optional) Profit center name. --> <ProfitCenterName></ProfitCenterName> <!-- (string, 25, optional) Business unit code. --> <BusinessUnitCode></BusinessUnitCode> <!-- (string, 250, optional) Business unit name. --> <BusinessUnitName></BusinessUnitName> <!-- (string, 25, optional) Project sub code. --> <ProjectSubCode></ProjectSubCode> <!-- (string, 250, optional) Project sub name. --> <ProjectSubName></ProjectSubName> <!-- (string, 25, optional) Employee code. --> <EmployeeCode>1002</EmployeeCode> <!-- (string, 250, optional) Employee name. --> <EmployeeName>Taylor Joe</EmployeeName> <!-- (string, 25, optional) Vehicle number. --> <Vehiclenumber></Vehiclenumber> <!-- (string, 250, optional) Vehicle name. --> <VehicleName></VehicleName> <!-- (string, 25, optional) Sales order code. --> <SalesorderCode></SalesorderCode> <!-- (string, 250, optional) Sales order name. --> <SalesorderName></SalesorderName> <!-- (string, 25, optional) Sales order sub code. --> <SalesorderSubCode></SalesorderSubCode> <!-- (string, 250, optional) Sales order sub name. --> <SalesorderSubName></SalesorderSubName> <!-- (string, 25, optional) Customer code. --> <CustomerCode></CustomerCode> <!-- (string, 250, optional) Customer name. --> <CustomerName></CustomerName> <!-- (string, 25, optional) Account assignment category code. --> <AccountingAssignmentCategoryCode></AccountingAssignmentCategoryCode> <!-- (string, 250, optional) Account assignment category name. --> <AccountingAssignmentCategoryName></AccountingAssignmentCategoryName> <!-- (string, 250, optional) Budget name. --> <BudgetName></BudgetName> <!-- (string, 25, optional) Budget code. --> <BudgetCode></BudgetCode> <!-- (string, 25, optional) Service code. --> <ServiceCode></ServiceCode> <!-- (string, 250, optional) Service name. --> <ServiceName></ServiceName> <!-- (string, 25, optional) Business area code. --> <BusinessAreaCode></BusinessAreaCode> <!-- (string, 250, optional) Business area name. --> <BusinessAreaName></BusinessAreaName> <!-- (string, 250, optional) Distribution mode. --> <DistributionMode></DistributionMode> <!-- (string, 25, optional) Distribution code. --> <DistributionCode></DistributionCode> <!-- (string, 250, optional) LineInvoicingText1-5: Can be used for for customer-specific date fields. --> <LineDataText1></LineDataText1> <!-- (string, 250, optional) --> <LineDataText2></LineDataText2> <!-- (string, 250, optional) --> <LineDataText3></LineDataText3> <!-- (string, 250, optional) --> <LineDataText4></LineDataText4> <!-- (string, 250, optional) --> <LineDataText5></LineDataText5> <!-- (decimal) LineInvoicingNum1-5: Can be used for for customer-specific date fields. --> <LineDataNum1></LineDataNum1> <!-- (decimal) --> <LineDataNum2></LineDataNum2> <!-- (decimal) --> <LineDataNum3></LineDataNum3> <!-- (decimal) --> <LineDataNum4></LineDataNum4> <!-- (decimal) --> <LineDataNum5></LineDataNum5> <!-- (date) LineInvoicingDate1-5: Can be used for for customer-specific date fields. --> <LineDataDate1></LineDataDate1> <!-- (date) --> <LineDataDate2></LineDataDate2> <!-- (date) --> <LineDataDate3></LineDataDate3> <!-- (date) --> <LineDataDate4></LineDataDate4> <!-- (date) --> <LineDataDate5></LineDataDate5> <!-- (string, 25, optional) DimCode 1-10: Code fields for Customer-specific coding dimensions. --> <LineInvoicingDimCode1></LineInvoicingDimCode1> <!-- (string, 250, optional) DimName 1-10: Name fields for Customer-specific coding dimensions. --> <LineInvoicingDimName1></LineInvoicingDimName1> <!-- (string, 25, optional) --> <LineInvoicingDimCode2></LineInvoicingDimCode2> <!-- (string, 250, optional) --> <LineInvoicingDimName2></LineInvoicingDimName2> <!-- (string, 25, optional) --> <LineInvoicingDimCode3></LineInvoicingDimCode3> <!-- (string, 250, optional) --> <LineInvoicingDimName3></LineInvoicingDimName3> <!-- (string, 25, optional) --> <LineInvoicingDimCode4></LineInvoicingDimCode4> <!-- (string, 250, optional) --> <LineInvoicingDimName4></LineInvoicingDimName4> <!-- (string, 25, optional) --> <LineInvoicingDimCode5></LineInvoicingDimCode5> <!-- (string, 250, optional) --> <LineInvoicingDimName5></LineInvoicingDimName5> <!-- (string, 25, optional) --> <LineInvoicingDimCode6></LineInvoicingDimCode6> <!-- (string, 250, optional) --> <LineInvoicingDimName6></LineInvoicingDimName6> <!-- (string, 25, optional) --> <LineInvoicingDimCode7></LineInvoicingDimCode7> <!-- (string, 250, optional) --> <LineInvoicingDimName7></LineInvoicingDimName7> <!-- (string, 25, optional) --> <LineInvoicingDimCode8></LineInvoicingDimCode8> <!-- (string, 250, optional) --> <LineInvoicingDimName8></LineInvoicingDimName8> <!-- (string, 25, optional) --> <LineInvoicingDimCode9></LineInvoicingDimCode9> <!-- (string, 250, optional) --> <LineInvoicingDimName9></LineInvoicingDimName9> <!-- (string, 25, optional) --> <LineInvoicingDimCode10></LineInvoicingDimCode10> <!-- (string, 250, optional) --> <LineInvoicingDimName10></LineInvoicingDimName10> </CodingRow> </CodingRows> <GoodsReceipts> <GoodsReceipt> <!-- (string, 100) Basware P2P goods receipt document number for the GR. --> <GoodsReceiptNumber>GR2022-08-yvqjp584</GoodsReceiptNumber> <!-- (string, 100) Goods receipt external code --> <ExternalCode>d9778cd446c04a21ad8248937fba6b00</ExternalCode> <!-- (string, 100) Goods receipt document external code --> <LineExternalCode>d67f4d1249234ce6b02d8eca6ecb8d5b</LineExternalCode> <!-- (string, 100, optional) Specifies original goods receipt that has been reversed (used only on reverse GR lines). Contains Basware P2P internal document number of the GR from which the reversed amount has been substracted. --> <ReversedGoodsReceiptNumber></ReversedGoodsReceiptNumber> <!-- (string, 100, optional) Specifies original goods receipt that has been reversed (used only on reverse GR lines). Contains external document number of the GR from which the reversed amount has been substracted. Applicable only for GRs imported from external systems. --> <ReversedGRExternalCode></ReversedGRExternalCode> <!-- (string, 100, optional) Goods receipt document external code (if reversed document) --> <ReversedGRLineExternalCode></ReversedGRLineExternalCode> <!-- (decimal) Quantity received. --> <ReceivedQuantity>1</ReceivedQuantity> <!-- (string, 30, optional) Goods receipt document received quantity unit --> <Units>PCS</Units> <!-- (string, 32) Goods receipt document receiver id --> <UserId>f7914539d90447da80c7aabf008a14f9</UserId> <!-- (string, 255) Goods receipt document receiver name --> <Recipient>White Mary</Recipient> <!-- (string, 2000, optional) Goods receipt document location --> <GoodsReceiptLocation>Maple street office</GoodsReceiptLocation> <!-- (string, 32) Order Number --> <OrderNumber>PO-20-000005</OrderNumber> <!-- (string, 3) Used to notify supplier of damaged goods. Supported values: "No", "Yes" --> <FaultNotified>No</FaultNotified> <!-- (string, ) Date on which goods have been received. --> <ReceivingDate>2022-08-03</ReceivingDate> <!-- (string, 8) Hard coded value "00:00:00" --> <ReceivingTime>00:00:00</ReceivingTime> <!-- (string, 250) Reference to delivery note this delivery relates to. --> <DeliveryNoteNumber></DeliveryNoteNumber> <!-- (string, 250) Product serial number. --> <ProductSerialNumber></ProductSerialNumber> <!-- (string, 100) Goods receipt document external GR number --> <ExtGRNumber></ExtGRNumber> <!-- (string) Specifies URL to view corresponding GR in Alusta. --> <DocumentLink>https://tenantcode.p2p.basware.com/Portal/Default.aspx?forms=1&sl=1&tid=tenantcode&dl=(Search/GoodsReceiptSearchDetails-GrId(95187cb3-5362-419a-9ef0-42e4fd195c86))</DocumentLink> <!-- (decimal) Net total of receiving. --> <ReceivedNetSum>1000</ReceivedNetSum> <!-- (decimal) Gross total of receiving. --> <ReceivedGrossSum>1250</ReceivedGrossSum> <!-- (string, 25) Goods receipt document currency code --> <CurrencyCode>EUR</CurrencyCode> </GoodsReceipt> </GoodsReceipts> </OrderLine> </OrderRows> <!-- (string) URL link to view the order in Basware P2P. --> <DocumentLink>https://tenantcode.p2p.basware.com/Portal/Default.aspx?forms=1&sl=1&tid=tenantcode&dl=(Search/PurchaseOrderDetails-SearchOrderId(08b93aea-96a1-4aba-bd68-e00bd0f51ca1))</DocumentLink> <!-- Specifies order type. Available values: 'Standard', ''Blanket', 'Release'. Standard order is a quantity-based purchase order. It specifies quantity amounts, prices and desired delivery dates for the items or services. Standard purchase orders typically require goods receipts. Blanket order is a sum-based long-term purchase order. It is placed for items or services for a specific period of time (validity period) and with an pre-determined maximum currency amount. Blanket orders are typically used for recurring invoices, for example ordering office cleaning for one year. They can be used for ordering both services and consumable goods. Quantity amount used on the blanket order is always '1'. Goods receipts are not used with blanket orders. Release orders are purchase orders that are created against/from a blanket order to authorize delivery and invoicing. If a blanket order requires release orders, the supplier should not act upon receiving the blanket order, but needs to wait for the release orders. The release orders are created from the blanket order. The release orders need no further acceptance because they are consuming an already approved blanket order. Invoicing will happen against the release orders. --> <PurchaseOrderType>Standard</PurchaseOrderType> <!-- (boolean) Specifies, if all price information is hidden from the order when sent to supplier. Available values: true / false. --> <HidePrices>false</HidePrices> <!-- The email address(es) where the order is sent by P2P purchase. Can contain multiple email addresses separated by semicolon. The order is sent to these addresses when orderRecipientType is 'Owner' or 'Both'. --> <AdditionalRecipient>mary.white@buyercompany.com</AdditionalRecipient> <!-- Used only if the order type is blanket to specify, if the blanket order requires release orders. Available values: true/false. --> <ReleaseOrderRequired>false</ReleaseOrderRequired> <!-- (string) Specifies where the order was created. Available values: P2P, ImportedAsRequisition, ImportedAsOrder, CopiedFromOrder. --> <OriginSystem>P2P</OriginSystem> <!-- (string) Determines who order is sent to. -Supplier(0) : Order is sent only to supplier. -If orderingMethod is email, order is sent to the email indicated by 'supplierOrderingEmail'. -If orderingMethod is network, the order is sent through Basware network. -Owner (1): Order is sent only to email address(es) indicated by field 'otherOrderingEmail'. Used for example when goods were picked up from a store and no order needs to be sent to supplier. -SupplierAndOwner (2): Order is sent to both supplier and email addresses indicated by field 'otherOrderingEmail'. Order delivery method to supplier is determined by orderingMethod, same as above. --> <OrderRecipientType>Supplier</OrderRecipientType> <!-- (boolean) Specifies if order is attached as pdf file when order is sent to supplier through Basware network. --> <AttachPdfToXml>true</AttachPdfToXml> <!-- (string, 10, optional) Specifies is goods receiving disabled in ordering. Values: 'True', 'False'. --> <GoodsReceiptDisabled>False</GoodsReceiptDisabled> </Order>