Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Provides the details of the PurchaseOrder either sent by a Customer, or retrieved by the Supplier from the Customer.

JSON Schema

View file
namePurchase-Order-oagis-id-bb4b4f7d68114adb883f43e4c4097bae.json

OpenAPI Spec (POST)

View file
namePurchase-Order-oagis-id-bb4b4f7d68114adb883f43e4c4097bae.yml

OpenAPI Spec (GET)

...

Include Page
SME Files
SME Files

Sample JSON instance (message payload)

Code Block
languagejson
{
  "purchaseOrder": {
    "typeCode": "DropShipDirectShip",
    "purchaseOrderHeader": {
      "identifier": "123232",
      "lastModificationDateTime": "2021-02-22T14:57:01-05:00",
      "note": "AllUrgent orderNeed linesfor must1800 ship togetherlbs",
      "status": {
        "code": "Open"
      },
      "customerParty": {
        "identifier": "58885",
        "dunsid": "3434343",
        "accountIdentifier": "58885",
        "name": "LargeCustomerA"
      },
      "supplierParty": {
        "identifier": "123454321",
        "name": "SmallSupplierA"
      },
      "shipToParty": {
        "identifier": "string58885",
        "name": "LargeHappy Customer Branch Plant BDairy Farm",
        "location": {
          "identifier": "Location1232321",
          "coordinate": {
            "verticalMeasure": "15Z",
            "latitudeMeasure": 4543.0627402580301503358996,
            "longitudeMeasure": -9392.162453257476726492425
          },
          "physicalAddress": {
            "addressLine": [
              "123412345 Co AnyStreetHwy NW8"
            ],
            "cityNamebuildingNumber": "St Paul2",
            "countrySubDivisionCodebuildingName": ["Storage Bin   B",
          {                 "content"cityName": "MNLe Roy",
   
            "typeCodecountrySubDivisionCode": "State"[
              },
              {
                "content": "RamseyMN",
                "typeCode": "CountyState"
              }
            ],
            "countryCode": "USA",
            "postalCode": "5510155951-11111234"
          },
          "glnid": "123456789"
        },
        "contact": {
          "typeCode": "Receiving Dock ContactOwner",
          "personName": {
            "formattedName": "JohnMabel E. DoeFarmer "
          },
          "telephoneCommunication": [
            {
              "typeCode": "Mobile",
              "identifier": "01.615507.555.1234"
            }
          ],
          "emailAddressCommunication": {
            "identifier": "johnmabel.e.doe@emailaddressfarmer@email.com"
          }
        }
      },
      "contractReference": {
        "identifier": "contract123232"
      },
      "totalAmount": {
        "content": 7849.7551,
        "currencyCode": "USD"
      },
      "billToParty": {
        "identifier": "125484",
        "accountIdentifier": "1232323",
        "name": "Mary's Accounting Services"
      },
      "transportationTerm": {
        "freightTermCode": "DLV"
      },
      "tax": {
        "typeCode": "Sales",
        "amount": {
          "content": 19549.7531253551,
          "currencyCode": "USD"
        }
      },
      "requestedShipDateTime": "2021-03-04T08:00:00-05:00"
    },
    "purchaseOrderLine": [
      {
        "actionCode": "Original",
        "lineNumberIdentifier": "1",
        "item": {
          "customerItemIdentification": {
            "identifier": "091818"
          },
          "manufacturerItemIdentification": {
            "typeCode": "SKU",
            "identifier": "1213579"
          },
          "supplierItemIdentification": {
            "typeCode": "SKU",
            "identifier": "1213579"
          },
          "upcid": "12323213213NA",
          "gtinid": "0012323213213NA",
          "description": "Item Description"Custom Feed Blend - Derived from Milk Max Plus Basic",
          "countryOfOriginCode": "USA",
          "manufacturingParty": {
            "identifier": "MC"
          }
        },
        "quantity": {
          "content": 252000,
          "unitCode": "EALB"
        },
        "unitPrice": {
          "basisQuantity": {
            "content": 1,
            "unitCode": "EALB"
          },
          "unitAmount": {
            "content": 103.56502,
            "currencyCode": "USD"
          }
        },
        "extendedAmount": {
          "content": 2627300.54,
          "currencyCode": "USD"
        },
        "totalAmount": {
          "content": 2827849.2531257551,
          "currencyCode": "USD"
        },
        "tax": {
          "taxJurisdicationCodes": {
            "code": "CountyNameMower County"
          },
          "calculation": {
            "rateNumber": 0.07525
          },
          "amount": {
            "content": 19549.7531253551,
            "currencyCode": "USD"
          },
          "currencyExchangeRate": {
            "sourceCurrencyCode": "USD",
            "targetCurrencyCode": "USD",
            "rateNumber": 1,
            "setDateTime": "2021-03-04T08:00:00-05:00"
          }
        },
        "specialPriceAuthorizationCode": "NA",
        "taxExemptCodes": {
          "code": [
            "NA"
          ]
        },
        "taxExemptIndicator": false
      }
    ]
  }
}

...