Versions Compared

Key

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

Provides the details of the PurchaseOrder sent by a 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)

Sample Payload

...

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"
      },
      "shipToPartysupplierParty": {
        "identifier": "string123454321",
        "name": "Large Customer Branch Plant BSmallSupplierA"
      },
      "shipToParty": {
        "identifier": "58885",
        "name": "Happy Dairy Farm",
        "location": {
          "identifier": "Location1232321",
          "coordinate": {
            "verticalMeasure": "15Z",
            "latitudeMeasure": 4543.0627402580301503358996,
            "longitudeMeasure": -9392.162453257476726492425
          },
          "physicalAddress": {
            "addressLine": [
              "123412345 Co AnyStreetHwy NW8"
            ],
            "buildingNumber": "2",
            "buildingName": "Storage Bin B",
            "cityName": "StLe PaulRoy",
            "countrySubDivisionCode": [
              {
                "content": "MN",
                "typeCode": "State"
              }
            ],
            "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": 15549.053551,
          "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": "0918181213579"
          },
          "upcid": "12323213213NA",
          "gtinid": "0012323213213NA",
          "description": "Custom Feed Blend - Derived from Milk "Item Description"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": 10.07525
          },
          "amount": {
            "content": 19549.7531253551,
            "currencyCode": "USD"
          },
          "currencyExchangeRate": {
            "sourceCurrencyCode": "USD",
            "targetCurrencyCode": "USD",
            "rateNumber": 1,
            "setDateTime": "2021-0203-21T0804T08:00:00-05:00"
          }
        },
        "specialPriceAuthorizationCode": "NA",
        "taxExemptCodes": {
          "code": "NA"
        },
        "taxExemptIndicator": false
      }
    ]
  }
}

...