AcknowledgePurchaseOrder
Sample JSON instance (message payload)
correct the line detail to show 1800 lbs and the new price, tax
{
"acknowledgePurchaseOrder": {
"releaseIdentifier": "10.7",
"applicationArea": {
"creationDateTime": "2021-03-04T21:25:58.791Z"
},
"dataArea": {
"acknowledge": {},
"purchaseOrder": [
{
"typeCode": "DropShip",
"purchaseOrderHeader": {
"identifier": "123232",
"lastModificationDateTime": "2021-02-23T09:52:01-05:00",
"status": {
"code": "RequestedChange"
},
"customerParty": {
"identifier": "58885",
"accountIdentifier": "58885",
"name": "LargeCustomerA"
},
"supplierParty": {
"identifier": "123454321",
"name": "SmallBusinessA"
},
"contractReference": {},
"totalAmount": {
"content": 500,
"currencyCode": "USD"
},
"carrierParty": {
"scacid": "RUAN"
},
"tax": {
"typeCode": "Sales",
"amount": {
"content": 19.753125,
"currencyCode": "USD"
}
},
"promisedShipDateTime": "2021-03-04T08:00:00-05:00",
"promisedDeliveryDateTime": "2021-03-10T08:00:00-05:00",
"salesOrderReference": {
"identifier": "NB023032"
}
},
"purchaseOrderLine": [
{
"lineNumberIdentifier": "1",
"note": "We can ship partial now",
"status": {
"code": "RequestedChange",
"reasonCode": "SH",
"reason": [
"Raw Material Shortage"
]
},
"item": {
"customerItemIdentification": {
"identifier": "091818"
},
"manufacturerItemIdentification": {
"typeCode": "SKU",
"identifier": "1213579"
},
"upcid": "12323213213",
"gtinid": "0012323213213"
},
"unitPrice": {
"basisQuantity": {
"content": 1,
"unitCode": "EA"
},
"unitAmount": {
"content": 10.5,
"currencyCode": "USD"
}
},
"extendedAmount": {
"content": 262.5,
"currencyCode": "USD"
},
"totalAmount": 0,
"contractReference": {
"identifier": "string"
},
"tax": {
"calculation": {
"rateNumber": 0.07525
},
"amount": {
"content": 19.753125,
"currencyCode": "USD"
},
"currencyExchangeRate": {
"sourceCurrencyCode": "USD",
"targetCurrencyCode": "USD",
"rateNumber": 1,
"setDateTime": "2021-03-04T08:00:00-05:00"
}
},
"promisedShipDateTime": "2021-03-04T08:00:00-05:00",
"promisedDeliveryDateTime": "2021-03-10T08:00:00-05:00",
"orderQuantity": [
{
"content": 25,
"unitCode": "EA"
}
],
"taxExemptCodes": {
"code": "NA"
},
"shipFromParty": {
"identifier": "123454321",
"name": "SmallBusinessA",
"location": {
"name": "SmallBusinessA WarehouseB",
"physicalAddress": {
"addressLine": [
"1234 Warehouse Avenue North"
],
"cityName": "Anytown",
"countrySubDivisionCode": [
{
"content": "IA",
"typeCode": "State"
}
]
}
}
},
"backOrderedQuantity": 2,
"openQuantity": 23,
"salesOrderReference": {
"lineNumberIdentifier": "NB023032-1"
},
"taxExemptIndicator": false
}
]
}
]
}
}
}
Â