---
title: "Create a Transaction"
method: POST
path: "/transactions"
tags: ["Transaction"]
---

# Create a Transaction

`POST /transactions`

Creates a Transaction. Only one Transaction can be posted at a time. For guidance on how to use this page, see the <a href="https://docs.orderful.com/docs/create-a-transaction#make-an-api-call-using-our-api-explorer" target="_blank">Create a Transaction guide</a>. Check the status field to determine if the transaction was successfully accepted for processing or failed.

## Headers

- `orderful-api-version` string

## Request body

- CreateTransactionBodyV4Dto
  - `type` '850_PURCHASE_ORDER' | '855_PURCHASE_ORDER_ACKNOWLEDGMENT' | '856_SHIP_NOTICE_MANIFEST' | '810_INVOICE' | '846_INVENTORY_ADVICE' | '860_PURCHASE_ORDER_CHANGE', required — The type of Transaction to be created. Please refer to our <a href="https://docs.orderful.com/reference/available-transaction-types" target="_blank">list of available Transaction Types</a>.
  - `stream` 'test' | 'live', required — Name of stream to create the transaction on.
  - `senderId` string, required — Sender identifier.
  - `receiverId` string, required — Receiver identifier.
  - `message` union, required — Transaction document in the structure defined by the specified type.
    - 850PURCHASEORDER — Purchase Order document - Buyer sends order to supplier.
      - `purpose` 'original' | 'cancellation' | 'change' | 'replace' | 'confirmation' — REQUIRED. Transaction purpose (BEG01).
      - `purchaseOrderType` 'blanketEstimated' | 'blanketFirm' | 'dropship' | 'release' | 'rushOrder' | 'standalone' — REQUIRED. PO type (BEG02).
      - `purchaseOrderNumber` string — REQUIRED. Unique PO number (BEG03).
      - `purchaseOrderDate` string, date — REQUIRED. PO issue date (BEG05).
      - `contractNumber` string — Contract number (BEG06).
      - `releaseNumber` string — Release number for blanket orders (BEG04).
      - `acknowledgmentType` string — Acknowledgment request type.
      - `parties` Parties — Trading partner information.
        - `buyer` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `shipTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `billTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `shipFrom` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `accountsPayable` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `soldTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `supplier` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
      - `dates` Dates — Order dates.
        - `cancelAfterDate` string, date
        - `customerOrderDate` string, date
        - `earliestDeliveryDate` string, date
        - `earliestShipDate` string, date
        - `latestShipDate` string, date
        - `latestDeliveryDate` string, date
        - `pickupDate` string, date
        - `promotionStartDate` string, date
        - `purchaseOrderDate` string, date
        - `requestedDeliveryDate` string, date
        - `requestedShipDate` string, date
        - `requestedDeliveryWeekOfDate` string, date
      - `references` References — Reference numbers.
        - `accountNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `arrivalCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `associatedPurchaseOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `reservationNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `customerOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `deliveryReference` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `divisionId` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `departmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `internalCustomerNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `vendorNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `merchandiseTypeCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `promotionNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `storeNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `thirdPartyReferenceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `warehouseStorageLocation` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `shipmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `invoiceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
      - `termsOfSale` TermsOfSale — Payment terms.
        - `type` 'basic' | 'basicDiscountOffered' | 'discountNotApplicable' | 'endOfMonth' | 'endOfMonth10' | 'instant' | 'mutuallyDefined'
        - `basisDate` 'invoiceDate' | 'receiptOfGoods' | 'deliveryDate' | 'shipDate' | 'mutuallyDefined' | 'gageApprovalDate' | 'specifiedDate' | 'acceptanceDate' | 'invoiceTransmissionDate' | 'effectiveDate'
        - `discountPercent` string
        - `discountDaysDue` integer — Number of days in the discount period.
        - `discountDueDate` string, date
        - `dayOfMonth` integer
        - `netDaysDue` integer — Number of days until total invoice amount is due.
        - `netDueDate` string, date
        - `discountAmount` string — Total discount amount.
        - `description` string
        - `paymentMethodType` 'check' | 'letterOfCredit' | 'wireTransfer' | 'corporateTradePayment' | 'specialAccount' | 'directPayOthers'
      - `carrierDetails` CarrierDetails — Shipping details.
        - `routing` RoutingDetails[]
          - `sequenceType` 'origin' | '1stAfterOrigin' | '4thAfterOrigin' | 'haulage'
          - `standardCarrierAlphaCode` string — SCAC code.
          - `customCarrierCode` string
          - `transportationMethod` 'air' | 'airExpress' | 'airFreightForward' | 'backhaul' | 'bestWay' | 'commonCarrier' | 'consolidation' | 'customerPickup' | 'expeditedTruck' | 'lessThanTrailerLoad' | 'mail' | 'ocean' | 'oceanContainerized' | 'parcelPost' | 'privateCarrier' | 'rail' | 'shipperAgent' | 'supplierTruck' | 'mutuallyDefined'
          - `locationType` 'inStore' | 'receiversLocation' | 'allPoints' | 'portOfArrival' | 'portOfEmbarkation' | 'origin' | 'mutuallyDefined'
          - `location` string
          - `description` string
          - `serviceLevel` 'deliveryConfirmation' | 'doorService' | 'economy' | 'eveningService' | 'expedited' | 'firstClass' | 'ground' | 'groundHundredWeight' | 'international' | 'metro' | 'morning' | 'nextDayAir' | 'nextDayHundredWeight' | 'nextDayEvening' | 'nextDayMorning1030' | 'nextDayMorning930' | 'overnight' | 'poBoxZipCode' | 'priorityMail' | 'priorityMailInsured' | 'proofOfDelivery' | 'sameDay' | 'saturdayService' | 'secondDay' | 'secondDayHundredWeight' | 'secondDayAir' | 'standard' | 'standardGround' | 'threeDay'
          - `orderStatus` 'shipCompleteOnDate' | 'complete' | 'partialShipment' | 'shipPartialBackorderToShipOnDate' | 'partialShipOnDate' | 'shipped' | 'backordered' | 'mutuallyDefined' | 'availableScheduledToShip' | 'availableNoShipSchedule' | 'multiPickup' | 'availableToShipUnBilledQuantity' | 'stopOff'
          - `transitDirectionType` 'buyerToSeller' | 'sellerToBuyer' | 'subcontractorToSeller' | 'sellerToDropShipLocation' | 'sellToForwarder' | 'sellerToSubcontractor' | 'mutuallyDefined'
          - `transitTimeType` 'calendarDays' | 'hours' | 'workingDays'
          - `transitTime` string
        - `freeOnBoard` FOBDetails[]
          - `methodOfPayment` 'airCollect' | 'airPrepaid' | 'paidByBuyer' | 'collect' | 'mutuallyAgreed' | 'portOfCall' | 'halfPrepaid' | 'mixed' | 'serviceFreightNoCharge' | 'advancePrepaid' | 'customerPickupBackhaul' | 'prepaidChargeCustomer' | 'prepaidBySeller' | 'paidBySeller' | 'pickup' | 'thirdPartyPay'
          - `locationType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
          - `locationDescription` string — FOB location description.
          - `titlePassageType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
          - `titlePassageDescription` string
          - `transportationTermsSource` 'incoTerms' | 'tradeTerms' | 'mutuallyDefined'
          - `transportationTerms` 'costAndFreight' | 'costInsuranceAndFreight' | 'carriageAndInsurancePaidTo' | 'carriagePaidTo' | 'deliveredAtFrontier' | 'deliverDutyPaid' | 'deliverDutyUnpaid' | 'deliveredDutyUnpaid' | 'deliveredExQuay' | 'deliveredExShip' | 'domesticallySupplied' | 'exQuay' | 'exShip' | 'exWorks' | 'freeAlongsideShip' | 'freeCarrier' | 'freightCarriageInsurancePaidTo' | 'freightCarriagePaidTo' | 'freeOnBoard' | 'freeOnRail' | 'freePnTruck' | 'nonPrivilegedForeign' | 'privilegedForeign' | 'mutuallyDefined'
          - `riskOfLoss` 'toDestinationBuyer' | 'toFreightEqPointSeller' | 'toPoolPointSeller' | 'toDestinationSeller' | 'mutuallyDefined'
          - `description` string
        - `specialHandling` SpecialHandlingDetails[]
          - `handlingType` string
          - `description` string
          - `materialId` string
          - `materialClass` string
          - `conditionResponse` boolean
      - `notes` Notes — Notes and instructions.
        - `general` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `orderInstructions` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `shippingInstructions` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `giftMessage` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `packingSlipMessage` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
      - `monetaryAmounts` HeaderMonetaryAmounts — Header-level monetary amounts.
        - `net` string — Net amount.
        - `gross` string — Gross amount.
        - `discount` string — Discount amount.
        - `freight` string — Freight amount.
      - `conditionsAndRestrictions` Conditions[]
        - `type` string
        - `description` string
      - `lineItems` POLineItem[] — REQUIRED. Order line items (PO1 loop).
        - `purchaseOrderLineId` string
        - `quantity` Quantity
          - `value` string — REQUIRED. Quantity value.
          - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
        - `unitCostPrice` string
        - `unitPriceBasis` string
        - `additionalPricing` PricingInfo[]
          - `priceType` 'retail' | 'wholesale' | 'promotional' | 'contract'
          - `price` string
          - `quantity` string
        - `productIds` ProductIds — Product identifiers.
          - `buyerItemNumber` string
          - `vendorItemNumber` string
          - `gtin12` string
          - `gtin13` string
          - `gtin14` string
          - `caseCode` string
          - `drugCode` string
          - `standardBookNumber` string
          - `buyerItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
          - `vendorItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
        - `productAttributes` ProductAttributes
          - `description` string
          - `colorCode` string
          - `colorDescription` string
          - `sizeCode` string
          - `sizeDescription` string
          - `materialCode` string
          - `materialDescription` string
          - `processCode` string
          - `processDescription` string
          - `height` string
          - `width` string
        - `outerPack` PhysicalDetails
          - `numberOfUnits` string
          - `packageForm` 'carton' | 'case' | 'pallet' | 'bag' | 'box' | 'bundle' | 'drum' | 'roll'
          - `weight` string
          - `weightUnit` 'pound' | 'kilogram' | 'ounce' | 'gram'
          - `volume` string
          - `volumeUnit` string
        - `innerPack` PhysicalDetails
          - `numberOfUnits` string
          - `packageForm` 'carton' | 'case' | 'pallet' | 'bag' | 'box' | 'bundle' | 'drum' | 'roll'
          - `weight` string
          - `weightUnit` 'pound' | 'kilogram' | 'ounce' | 'gram'
          - `volume` string
          - `volumeUnit` string
        - `packaging` PackagingDetails[]
          - `packagingCode` string
          - `packagingDescription` string
        - `dates` Dates — Order dates.
          - `cancelAfterDate` string, date
          - `customerOrderDate` string, date
          - `earliestDeliveryDate` string, date
          - `earliestShipDate` string, date
          - `latestShipDate` string, date
          - `latestDeliveryDate` string, date
          - `pickupDate` string, date
          - `promotionStartDate` string, date
          - `purchaseOrderDate` string, date
          - `requestedDeliveryDate` string, date
          - `requestedShipDate` string, date
          - `requestedDeliveryWeekOfDate` string, date
        - `references` References — Reference numbers.
          - `accountNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `arrivalCode` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `associatedPurchaseOrderNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `reservationNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `customerOrderNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `deliveryReference` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `divisionId` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `departmentNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `internalCustomerNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `vendorNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `merchandiseTypeCode` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `promotionNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `storeNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `thirdPartyReferenceNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `warehouseStorageLocation` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `shipmentNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `invoiceNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
        - `destinationQuantities` DestinationQuantity[]
          - `identificationCode` string
          - `identificationCodeType` string
          - `quantity` string
        - `allowances` AllowanceCharge[]
          - `type` string
          - `amount` string
          - `percent` string
          - `description` string
        - `charges` AllowanceCharge[]
          - `type` string
          - `amount` string
          - `percent` string
          - `description` string
        - `monetaryAmounts` MonetaryAmounts
          - `lineTotal` string
          - `unitPrice` string
          - `extendedPrice` string
        - `sublineItems` SublineItem[]
          - `sublineId` string
          - `quantity` Quantity
            - `value` string — REQUIRED. Quantity value.
            - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
          - `productIds` ProductIds — Product identifiers.
            - `buyerItemNumber` string
            - `vendorItemNumber` string
            - `gtin12` string
            - `gtin13` string
            - `gtin14` string
            - `caseCode` string
            - `drugCode` string
            - `standardBookNumber` string
            - `buyerItemIds` ProductIdDetail[]
              - …
            - `vendorItemIds` ProductIdDetail[]
              - …
          - `productAttributes` ProductAttributes
            - `description` string
            - `colorCode` string
            - `colorDescription` string
            - `sizeCode` string
            - `sizeDescription` string
            - `materialCode` string
            - `materialDescription` string
            - `processCode` string
            - `processDescription` string
            - `height` string
            - `width` string
        - `notes` Notes — Notes and instructions.
          - `general` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `orderInstructions` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `shippingInstructions` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `giftMessage` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `packingSlipMessage` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
        - `paperwork` Paperwork[]
          - `type` string
          - `description` string
          - `required` boolean
        - `conditionsAndRestrictions` Conditions[]
          - `type` string
          - `description` string
        - `carrierDetails` CarrierDetails — Shipping details.
          - `routing` RoutingDetails[]
            - `sequenceType` 'origin' | '1stAfterOrigin' | '4thAfterOrigin' | 'haulage'
            - `standardCarrierAlphaCode` string — SCAC code.
            - `customCarrierCode` string
            - `transportationMethod` 'air' | 'airExpress' | 'airFreightForward' | 'backhaul' | 'bestWay' | 'commonCarrier' | 'consolidation' | 'customerPickup' | 'expeditedTruck' | 'lessThanTrailerLoad' | 'mail' | 'ocean' | 'oceanContainerized' | 'parcelPost' | 'privateCarrier' | 'rail' | 'shipperAgent' | 'supplierTruck' | 'mutuallyDefined'
            - `locationType` 'inStore' | 'receiversLocation' | 'allPoints' | 'portOfArrival' | 'portOfEmbarkation' | 'origin' | 'mutuallyDefined'
            - `location` string
            - `description` string
            - `serviceLevel` 'deliveryConfirmation' | 'doorService' | 'economy' | 'eveningService' | 'expedited' | 'firstClass' | 'ground' | 'groundHundredWeight' | 'international' | 'metro' | 'morning' | 'nextDayAir' | 'nextDayHundredWeight' | 'nextDayEvening' | 'nextDayMorning1030' | 'nextDayMorning930' | 'overnight' | 'poBoxZipCode' | 'priorityMail' | 'priorityMailInsured' | 'proofOfDelivery' | 'sameDay' | 'saturdayService' | 'secondDay' | 'secondDayHundredWeight' | 'secondDayAir' | 'standard' | 'standardGround' | 'threeDay'
            - `orderStatus` 'shipCompleteOnDate' | 'complete' | 'partialShipment' | 'shipPartialBackorderToShipOnDate' | 'partialShipOnDate' | 'shipped' | 'backordered' | 'mutuallyDefined' | 'availableScheduledToShip' | 'availableNoShipSchedule' | 'multiPickup' | 'availableToShipUnBilledQuantity' | 'stopOff'
            - `transitDirectionType` 'buyerToSeller' | 'sellerToBuyer' | 'subcontractorToSeller' | 'sellerToDropShipLocation' | 'sellToForwarder' | 'sellerToSubcontractor' | 'mutuallyDefined'
            - `transitTimeType` 'calendarDays' | 'hours' | 'workingDays'
            - `transitTime` string
          - `freeOnBoard` FOBDetails[]
            - `methodOfPayment` 'airCollect' | 'airPrepaid' | 'paidByBuyer' | 'collect' | 'mutuallyAgreed' | 'portOfCall' | 'halfPrepaid' | 'mixed' | 'serviceFreightNoCharge' | 'advancePrepaid' | 'customerPickupBackhaul' | 'prepaidChargeCustomer' | 'prepaidBySeller' | 'paidBySeller' | 'pickup' | 'thirdPartyPay'
            - `locationType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
            - `locationDescription` string — FOB location description.
            - `titlePassageType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
            - `titlePassageDescription` string
            - `transportationTermsSource` 'incoTerms' | 'tradeTerms' | 'mutuallyDefined'
            - `transportationTerms` 'costAndFreight' | 'costInsuranceAndFreight' | 'carriageAndInsurancePaidTo' | 'carriagePaidTo' | 'deliveredAtFrontier' | 'deliverDutyPaid' | 'deliverDutyUnpaid' | 'deliveredDutyUnpaid' | 'deliveredExQuay' | 'deliveredExShip' | 'domesticallySupplied' | 'exQuay' | 'exShip' | 'exWorks' | 'freeAlongsideShip' | 'freeCarrier' | 'freightCarriageInsurancePaidTo' | 'freightCarriagePaidTo' | 'freeOnBoard' | 'freeOnRail' | 'freePnTruck' | 'nonPrivilegedForeign' | 'privilegedForeign' | 'mutuallyDefined'
            - `riskOfLoss` 'toDestinationBuyer' | 'toFreightEqPointSeller' | 'toPoolPointSeller' | 'toDestinationSeller' | 'mutuallyDefined'
            - `description` string
          - `specialHandling` SpecialHandlingDetails[]
            - `handlingType` string
            - `description` string
            - `materialId` string
            - `materialClass` string
            - `conditionResponse` boolean
    - 855PURCHASEORDERACKNOWLEDGMENT — Purchase Order Acknowledgment document - Supplier confirms or rejects order.
      - `purchaseOrderNumber` string — REQUIRED. Original PO number being acknowledged (BAK03).
      - `status` 'accepted' | 'rejected' — REQUIRED. Overall acknowledgment status (BAK02).
      - `statusReasonCode` 'discontinued' | 'invalidAddress' | 'invalidBillToCode' | 'invalidItemNumber' | 'invalidPrice' | 'invalidItemQuantity' | 'invalidShipFrom' | 'invalidShipMethod' | 'invalidShipToName' | 'invalidShipToAddress1' | 'invalidShipToAddress2' | 'invalidShipToCity' | 'invalidShipToStateOrProvince' | 'invalidShipToPostalCode' | 'invalidShipToCountry' | 'itemRecall' | 'itemSetupIssue' | 'mainlandOnly' | 'missingLineItemId' | 'missingOrderId' | 'missingShipId' | 'naturalDisaster' | 'outOfStock' | 'seasonalOrEndOfLife' | 'shippingInFull' | 'systemIssue' | 'taxNexusIssue' | 'transportationIssuePrepaid' | 'transportationIssueCollect' | 'undeliverableAddress' | 'weather' — Reason code for status.
      - `statusNote` NoteDetail
        - `description` string
        - `text` string[] — Note text lines.
      - `dates` POAckDates
        - `estimatedDeliveryDate` string, date
        - `requestedPickupDate` string, date
        - `scheduledShipDate` string, date
      - `parties` object
        - `shipFrom` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `supplier` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
      - `termsOfSale` TermsOfSale — Payment terms.
        - `type` 'basic' | 'basicDiscountOffered' | 'discountNotApplicable' | 'endOfMonth' | 'endOfMonth10' | 'instant' | 'mutuallyDefined'
        - `basisDate` 'invoiceDate' | 'receiptOfGoods' | 'deliveryDate' | 'shipDate' | 'mutuallyDefined' | 'gageApprovalDate' | 'specifiedDate' | 'acceptanceDate' | 'invoiceTransmissionDate' | 'effectiveDate'
        - `discountPercent` string
        - `discountDaysDue` integer — Number of days in the discount period.
        - `discountDueDate` string, date
        - `dayOfMonth` integer
        - `netDaysDue` integer — Number of days until total invoice amount is due.
        - `netDueDate` string, date
        - `discountAmount` string — Total discount amount.
        - `description` string
        - `paymentMethodType` 'check' | 'letterOfCredit' | 'wireTransfer' | 'corporateTradePayment' | 'specialAccount' | 'directPayOthers'
      - `lineItems` POAckLineItem[] — Acknowledgment line items.
        - `purchaseOrderLineId` string — Original PO line item ID.
        - `productIds` ProductIds — Product identifiers.
          - `buyerItemNumber` string
          - `vendorItemNumber` string
          - `gtin12` string
          - `gtin13` string
          - `gtin14` string
          - `caseCode` string
          - `drugCode` string
          - `standardBookNumber` string
          - `buyerItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
          - `vendorItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
        - `productAttributes` ProductAttributes
          - `description` string
          - `colorCode` string
          - `colorDescription` string
          - `sizeCode` string
          - `sizeDescription` string
          - `materialCode` string
          - `materialDescription` string
          - `processCode` string
          - `processDescription` string
          - `height` string
          - `width` string
        - `actions` POAckAction[] — REQUIRED. Actions for this line item.
          - `status` 'accepted' | 'rejected' | 'backordered' — REQUIRED. Action status.
          - `statusReasonCode` string — Reason code for rejected/backordered status.
          - `statusNote` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `quantity` Quantity
            - `value` string — REQUIRED. Quantity value.
            - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
          - `scheduledShipDate` string, date — Scheduled ship date.
          - `estimatedDeliveryDate` string, date — Estimated delivery date.
          - `unitCostPrice` string — Acknowledged unit price (for price changes).
          - `substitutedItem` object — Substituted product (for substitutions).
            - `productIds` ProductIds — Product identifiers.
              - …
    - 856SHIPNOTICEMANIFEST — Ship Notice / Advanced Shipping Notice (ASN) document - Supplier notifies shipment details.
      - `purpose` 'original' | 'cancellation' | 'change' — Transaction purpose.
      - `shipmentId` string — REQUIRED. Unique shipment ID (BSN02).
      - `carrierDetails` object
        - `quantityAndWeight` CarrierWeightDetails[]
          - `packageForm` 'bag' | 'carton' | 'pallet'
          - `packageMaterial` 'corrugated' | 'plastic' | 'plasticVacuumed' | 'standard' | 'wood'
          - `weightUOM` 'pound' | 'kilogram'
          - `grossWeight` string
          - `netWeight` string
        - `routing` RoutingDetails[]
          - `sequenceType` 'origin' | '1stAfterOrigin' | '4thAfterOrigin' | 'haulage'
          - `standardCarrierAlphaCode` string — SCAC code.
          - `customCarrierCode` string
          - `transportationMethod` 'air' | 'airExpress' | 'airFreightForward' | 'backhaul' | 'bestWay' | 'commonCarrier' | 'consolidation' | 'customerPickup' | 'expeditedTruck' | 'lessThanTrailerLoad' | 'mail' | 'ocean' | 'oceanContainerized' | 'parcelPost' | 'privateCarrier' | 'rail' | 'shipperAgent' | 'supplierTruck' | 'mutuallyDefined'
          - `locationType` 'inStore' | 'receiversLocation' | 'allPoints' | 'portOfArrival' | 'portOfEmbarkation' | 'origin' | 'mutuallyDefined'
          - `location` string
          - `description` string
          - `serviceLevel` 'deliveryConfirmation' | 'doorService' | 'economy' | 'eveningService' | 'expedited' | 'firstClass' | 'ground' | 'groundHundredWeight' | 'international' | 'metro' | 'morning' | 'nextDayAir' | 'nextDayHundredWeight' | 'nextDayEvening' | 'nextDayMorning1030' | 'nextDayMorning930' | 'overnight' | 'poBoxZipCode' | 'priorityMail' | 'priorityMailInsured' | 'proofOfDelivery' | 'sameDay' | 'saturdayService' | 'secondDay' | 'secondDayHundredWeight' | 'secondDayAir' | 'standard' | 'standardGround' | 'threeDay'
          - `orderStatus` 'shipCompleteOnDate' | 'complete' | 'partialShipment' | 'shipPartialBackorderToShipOnDate' | 'partialShipOnDate' | 'shipped' | 'backordered' | 'mutuallyDefined' | 'availableScheduledToShip' | 'availableNoShipSchedule' | 'multiPickup' | 'availableToShipUnBilledQuantity' | 'stopOff'
          - `transitDirectionType` 'buyerToSeller' | 'sellerToBuyer' | 'subcontractorToSeller' | 'sellerToDropShipLocation' | 'sellToForwarder' | 'sellerToSubcontractor' | 'mutuallyDefined'
          - `transitTimeType` 'calendarDays' | 'hours' | 'workingDays'
          - `transitTime` string
        - `equipment` EquipmentDetails
          - `equipmentType` 'reefer' | 'trailer'
          - `equipmentId` string
          - `sealNumber` string
        - `freeOnBoard` FOBDetails[]
          - `methodOfPayment` 'airCollect' | 'airPrepaid' | 'paidByBuyer' | 'collect' | 'mutuallyAgreed' | 'portOfCall' | 'halfPrepaid' | 'mixed' | 'serviceFreightNoCharge' | 'advancePrepaid' | 'customerPickupBackhaul' | 'prepaidChargeCustomer' | 'prepaidBySeller' | 'paidBySeller' | 'pickup' | 'thirdPartyPay'
          - `locationType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
          - `locationDescription` string — FOB location description.
          - `titlePassageType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
          - `titlePassageDescription` string
          - `transportationTermsSource` 'incoTerms' | 'tradeTerms' | 'mutuallyDefined'
          - `transportationTerms` 'costAndFreight' | 'costInsuranceAndFreight' | 'carriageAndInsurancePaidTo' | 'carriagePaidTo' | 'deliveredAtFrontier' | 'deliverDutyPaid' | 'deliverDutyUnpaid' | 'deliveredDutyUnpaid' | 'deliveredExQuay' | 'deliveredExShip' | 'domesticallySupplied' | 'exQuay' | 'exShip' | 'exWorks' | 'freeAlongsideShip' | 'freeCarrier' | 'freightCarriageInsurancePaidTo' | 'freightCarriagePaidTo' | 'freeOnBoard' | 'freeOnRail' | 'freePnTruck' | 'nonPrivilegedForeign' | 'privilegedForeign' | 'mutuallyDefined'
          - `riskOfLoss` 'toDestinationBuyer' | 'toFreightEqPointSeller' | 'toPoolPointSeller' | 'toDestinationSeller' | 'mutuallyDefined'
          - `description` string
        - `specialHandling` SpecialHandlingDetails[]
          - `handlingType` string
          - `description` string
          - `materialId` string
          - `materialClass` string
          - `conditionResponse` boolean
      - `references` AsnReferences
        - `appointmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `billOfLadingNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `loadPlanningNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `pickupReferenceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `proNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `trackingNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `vendorNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
      - `dates` object
        - `shipDate` string, date
        - `deliveryDate` string, date
      - `shippingPaymentTerms` 'prepaidBySeller' | 'collect'
      - `parties` ShipmentParties — Parties involved in shipment.
        - `shipFrom` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `shipTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `supplier` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
      - `allowances` AllowanceCharge[]
        - `type` string
        - `amount` string
        - `percent` string
        - `description` string
      - `charges` AllowanceCharge[]
        - `type` string
        - `amount` string
        - `percent` string
        - `description` string
      - `orders` AsnOrder[] — REQUIRED. Orders in this shipment (HL loops).
        - `purchaseOrderNumber` string — REQUIRED. PO number.
        - `releaseNumber` string
        - `purchaseOrderDate` string, date
        - `customerOrderNumber` string
        - `parties` object
          - `markFor` Party — Party details.
            - `name` string — Party name (N102).
            - `additionalName1` string
            - `additionalName2` string
            - `identificationCode` string — ID code (N104).
            - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
            - `addressLine1` string
            - `addressLine2` string
            - `addressLine3` string
            - `addressLine4` string
            - `city` string
            - `stateOrProvinceCode` string
            - `postalCode` string
            - `countryCode` string
            - `zoneType` 'residential' | 'commercial'
            - `contacts` Contact[]
              - …
        - `pallets` AsnPallet[]
          - `palletType` 'chep' | 'iGps' | 'peco' | 'whiteWood' | 'hardWood' | 'aluminum' | 'specifiedByDOT' | 'metal' | 'standard' | 'steel' | 'wood' | 'slipsheet' | 'softWood'
          - `trackingNumber` string
          - `serialShippingId` string — SSCC-18 code.
          - `layersPerPallet` integer
          - `cartonsPerLayer` integer
          - `palletExchangeType` 'noExchangeOrReturn' | 'exchange' | 'return' | 'customerPurchase' | 'thirdPartyExchange' — Pallet exchange type.
          - `palletPhysicalDetails` PhysicalDetails
            - `numberOfUnits` string
            - `packageForm` 'carton' | 'case' | 'pallet' | 'bag' | 'box' | 'bundle' | 'drum' | 'roll'
            - `weight` string
            - `weightUnit` 'pound' | 'kilogram' | 'ounce' | 'gram'
            - `volume` string
            - `volumeUnit` string
          - `cartons` AsnCarton[]
            - `trackingNumber` string
            - `serialShippingId` string — SSCC-18 code.
            - `cartonPhysicalDetails` PhysicalDetails
              - …
            - `specialHandling` SpecialHandlingDetails[]
              - …
            - `items` AsnItem[]
              - …
          - `items` AsnItem[] — Items directly on pallet (no cartons).
            - `purchaseOrderLineId` string
            - `productIds` ProductIds — Product identifiers.
              - …
            - `productAttributes` ProductAttributes
              - …
            - `references` AsnItemReferences — Item-level references for ASN shipments.
              - …
            - `lotNumber` string
            - `coilNumber` string — Coil number for industrial materials.
            - `quantityShipped` Quantity
              - …
            - `expirationDate` string, date
            - `manufactureDate` string, date — Manufacture date.
            - `countryOfOrigin` string
            - `outerPack` PhysicalDetails
              - …
            - `innerPack` PhysicalDetails
              - …
        - `cartons` AsnCarton[] — Cartons (when not using pallets, SOPI hierarchy).
          - `trackingNumber` string
          - `serialShippingId` string — SSCC-18 code.
          - `cartonPhysicalDetails` PhysicalDetails
            - `numberOfUnits` string
            - `packageForm` 'carton' | 'case' | 'pallet' | 'bag' | 'box' | 'bundle' | 'drum' | 'roll'
            - `weight` string
            - `weightUnit` 'pound' | 'kilogram' | 'ounce' | 'gram'
            - `volume` string
            - `volumeUnit` string
          - `specialHandling` SpecialHandlingDetails[]
            - `handlingType` string
            - `description` string
            - `materialId` string
            - `materialClass` string
            - `conditionResponse` boolean
          - `items` AsnItem[]
            - `purchaseOrderLineId` string
            - `productIds` ProductIds — Product identifiers.
              - …
            - `productAttributes` ProductAttributes
              - …
            - `references` AsnItemReferences — Item-level references for ASN shipments.
              - …
            - `lotNumber` string
            - `coilNumber` string — Coil number for industrial materials.
            - `quantityShipped` Quantity
              - …
            - `expirationDate` string, date
            - `manufactureDate` string, date — Manufacture date.
            - `countryOfOrigin` string
            - `outerPack` PhysicalDetails
              - …
            - `innerPack` PhysicalDetails
              - …
        - `items` AsnItem[] — Items directly on order (no pallets or cartons, SOI hierarchy).
          - `purchaseOrderLineId` string
          - `productIds` ProductIds — Product identifiers.
            - `buyerItemNumber` string
            - `vendorItemNumber` string
            - `gtin12` string
            - `gtin13` string
            - `gtin14` string
            - `caseCode` string
            - `drugCode` string
            - `standardBookNumber` string
            - `buyerItemIds` ProductIdDetail[]
              - …
            - `vendorItemIds` ProductIdDetail[]
              - …
          - `productAttributes` ProductAttributes
            - `description` string
            - `colorCode` string
            - `colorDescription` string
            - `sizeCode` string
            - `sizeDescription` string
            - `materialCode` string
            - `materialDescription` string
            - `processCode` string
            - `processDescription` string
            - `height` string
            - `width` string
          - `references` AsnItemReferences — Item-level references for ASN shipments.
            - `heatCode` ReferenceDetail
              - …
            - `billOfMaterial` ReferenceDetail
              - …
            - `barCode` ReferenceDetail
              - …
          - `lotNumber` string
          - `coilNumber` string — Coil number for industrial materials.
          - `quantityShipped` Quantity
            - `value` string — REQUIRED. Quantity value.
            - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
          - `expirationDate` string, date
          - `manufactureDate` string, date — Manufacture date.
          - `countryOfOrigin` string
          - `outerPack` PhysicalDetails
            - `numberOfUnits` string
            - `packageForm` 'carton' | 'case' | 'pallet' | 'bag' | 'box' | 'bundle' | 'drum' | 'roll'
            - `weight` string
            - `weightUnit` 'pound' | 'kilogram' | 'ounce' | 'gram'
            - `volume` string
            - `volumeUnit` string
          - `innerPack` PhysicalDetails
            - `numberOfUnits` string
            - `packageForm` 'carton' | 'case' | 'pallet' | 'bag' | 'box' | 'bundle' | 'drum' | 'roll'
            - `weight` string
            - `weightUnit` 'pound' | 'kilogram' | 'ounce' | 'gram'
            - `volume` string
            - `volumeUnit` string
    - 810INVOICE — Invoice document - Supplier bills for shipped goods.
      - `invoiceNumber` string — REQUIRED. Unique invoice number (BIG02).
      - `invoiceDate` string, date — REQUIRED. Invoice date (BIG01).
      - `invoiceType` 'invoice' | 'creditMemo' | 'debitMemo' — Invoice type.
      - `purchaseOrderNumber` string — Related PO number (BIG04).
      - `purchaseOrderDate` string, date — PO date (BIG03).
      - `shipmentIdentification` string — Related shipment ID.
      - `originalInvoiceNumber` string — Original invoice (for credit/debit memos).
      - `parties` InvoiceParties — Parties involved in invoice.
        - `buyer` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `shipTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `billTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `accountsReceivable` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `accountsPayable` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
      - `termsOfSale` TermsOfSale — Payment terms.
        - `type` 'basic' | 'basicDiscountOffered' | 'discountNotApplicable' | 'endOfMonth' | 'endOfMonth10' | 'instant' | 'mutuallyDefined'
        - `basisDate` 'invoiceDate' | 'receiptOfGoods' | 'deliveryDate' | 'shipDate' | 'mutuallyDefined' | 'gageApprovalDate' | 'specifiedDate' | 'acceptanceDate' | 'invoiceTransmissionDate' | 'effectiveDate'
        - `discountPercent` string
        - `discountDaysDue` integer — Number of days in the discount period.
        - `discountDueDate` string, date
        - `dayOfMonth` integer
        - `netDaysDue` integer — Number of days until total invoice amount is due.
        - `netDueDate` string, date
        - `discountAmount` string — Total discount amount.
        - `description` string
        - `paymentMethodType` 'check' | 'letterOfCredit' | 'wireTransfer' | 'corporateTradePayment' | 'specialAccount' | 'directPayOthers'
      - `dates` InvoiceDates — Invoice-related dates.
        - `shipDate` string, date
        - `deliveryDate` string, date
        - `termsNetDueDate` string, date
        - `termsDiscountDueDate` string, date
      - `references` References — Reference numbers.
        - `accountNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `arrivalCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `associatedPurchaseOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `reservationNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `customerOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `deliveryReference` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `divisionId` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `departmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `internalCustomerNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `vendorNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `merchandiseTypeCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `promotionNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `storeNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `thirdPartyReferenceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `warehouseStorageLocation` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `shipmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `invoiceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
      - `lineItems` InvoiceLineItem[] — REQUIRED. Invoice line items (IT1 loop).
        - `purchaseOrderLineId` string — Original PO line ID.
        - `quantityInvoiced` Quantity
          - `value` string — REQUIRED. Quantity value.
          - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
        - `unitPrice` string — REQUIRED. Unit price (IT104).
        - `extendedPrice` string — Extended price (quantity × unit price).
        - `productIds` ProductIds — Product identifiers.
          - `buyerItemNumber` string
          - `vendorItemNumber` string
          - `gtin12` string
          - `gtin13` string
          - `gtin14` string
          - `caseCode` string
          - `drugCode` string
          - `standardBookNumber` string
          - `buyerItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
          - `vendorItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
        - `productAttributes` ProductAttributes
          - `description` string
          - `colorCode` string
          - `colorDescription` string
          - `sizeCode` string
          - `sizeDescription` string
          - `materialCode` string
          - `materialDescription` string
          - `processCode` string
          - `processDescription` string
          - `height` string
          - `width` string
        - `shipDate` string, date
        - `allowances` AllowanceCharge[]
          - `type` string
          - `amount` string
          - `percent` string
          - `description` string
        - `charges` AllowanceCharge[]
          - `type` string
          - `amount` string
          - `percent` string
          - `description` string
        - `taxes` TaxDetails[]
          - `amount` string — Tax amount (TXI02).
          - `percent` string — Tax percentage (TXI03).
          - `taxIdNumber` string — Tax ID number (TXI09 or TAX01).
          - `locationId` string — Location identifier (TAX03).
          - `exemptionCode` 'exempt' | 'notExempt' | 'notTaxable'
          - `jurisdictionType` string — Tax jurisdiction type (TXI04).
          - `jurisdictionCode` string — Tax jurisdiction code (TXI05).
          - `assignedId` string — Assigned identification (TXI10).
        - `notes` Notes — Notes and instructions.
          - `general` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `orderInstructions` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `shippingInstructions` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `giftMessage` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
          - `packingSlipMessage` NoteDetail
            - `description` string
            - `text` string[] — Note text lines.
      - `allowances` AllowanceCharge[] — Header-level allowances (SAC loop).
        - `type` string
        - `amount` string
        - `percent` string
        - `description` string
      - `charges` AllowanceCharge[] — Header-level charges (SAC loop).
        - `type` string
        - `amount` string
        - `percent` string
        - `description` string
      - `taxes` InvoiceTaxes — Invoice tax details (TXI segments).
        - `harmonizedSalesTax` TaxDetails — Tax details (TXI or TAX segment).
          - `amount` string — Tax amount (TXI02).
          - `percent` string — Tax percentage (TXI03).
          - `taxIdNumber` string — Tax ID number (TXI09 or TAX01).
          - `locationId` string — Location identifier (TAX03).
          - `exemptionCode` 'exempt' | 'notExempt' | 'notTaxable'
          - `jurisdictionType` string — Tax jurisdiction type (TXI04).
          - `jurisdictionCode` string — Tax jurisdiction code (TXI05).
          - `assignedId` string — Assigned identification (TXI10).
        - `goodsAndServicesTax` TaxDetails — Tax details (TXI or TAX segment).
          - `amount` string — Tax amount (TXI02).
          - `percent` string — Tax percentage (TXI03).
          - `taxIdNumber` string — Tax ID number (TXI09 or TAX01).
          - `locationId` string — Location identifier (TAX03).
          - `exemptionCode` 'exempt' | 'notExempt' | 'notTaxable'
          - `jurisdictionType` string — Tax jurisdiction type (TXI04).
          - `jurisdictionCode` string — Tax jurisdiction code (TXI05).
          - `assignedId` string — Assigned identification (TXI10).
        - `stateProvincialTax` TaxDetails — Tax details (TXI or TAX segment).
          - `amount` string — Tax amount (TXI02).
          - `percent` string — Tax percentage (TXI03).
          - `taxIdNumber` string — Tax ID number (TXI09 or TAX01).
          - `locationId` string — Location identifier (TAX03).
          - `exemptionCode` 'exempt' | 'notExempt' | 'notTaxable'
          - `jurisdictionType` string — Tax jurisdiction type (TXI04).
          - `jurisdictionCode` string — Tax jurisdiction code (TXI05).
          - `assignedId` string — Assigned identification (TXI10).
        - `stateProvincialGoodsTax` TaxDetails — Tax details (TXI or TAX segment).
          - `amount` string — Tax amount (TXI02).
          - `percent` string — Tax percentage (TXI03).
          - `taxIdNumber` string — Tax ID number (TXI09 or TAX01).
          - `locationId` string — Location identifier (TAX03).
          - `exemptionCode` 'exempt' | 'notExempt' | 'notTaxable'
          - `jurisdictionType` string — Tax jurisdiction type (TXI04).
          - `jurisdictionCode` string — Tax jurisdiction code (TXI05).
          - `assignedId` string — Assigned identification (TXI10).
        - `localTax` TaxDetails — Tax details (TXI or TAX segment).
          - `amount` string — Tax amount (TXI02).
          - `percent` string — Tax percentage (TXI03).
          - `taxIdNumber` string — Tax ID number (TXI09 or TAX01).
          - `locationId` string — Location identifier (TAX03).
          - `exemptionCode` 'exempt' | 'notExempt' | 'notTaxable'
          - `jurisdictionType` string — Tax jurisdiction type (TXI04).
          - `jurisdictionCode` string — Tax jurisdiction code (TXI05).
          - `assignedId` string — Assigned identification (TXI10).
      - `invoiceTotal` string — Total invoice amount (TDS01).
      - `invoiceSalesTotal` string — Amount used to calculate terms discount amount (TDS02).
      - `invoiceTermsDiscount` string — Terms discount amount (TDS04).
    - 846INVENTORYADVICE — Inventory Advice document - Supplier reports inventory levels to buyer.
      - `purpose` 'full' | 'incremental' — REQUIRED. Report purpose.
      - `reportType` 'sellerInventory' — REQUIRED. Type of inventory report.
      - `reportNumber` string — REQUIRED. Unique report identifier.
      - `reportDate` string, date — REQUIRED. Report date.
      - `parties` InventoryParties — Parties involved in inventory reporting.
        - `inventoryLocation` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `buyer` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `supplier` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
      - `references` References — Reference numbers.
        - `accountNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `arrivalCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `associatedPurchaseOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `reservationNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `customerOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `deliveryReference` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `divisionId` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `departmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `internalCustomerNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `vendorNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `merchandiseTypeCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `promotionNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `storeNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `thirdPartyReferenceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `warehouseStorageLocation` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `shipmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `invoiceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
      - `dates` InventoryDates — Inventory report date range.
        - `reportStartDate` string, date
        - `reportEndDate` string, date
      - `sellersCurrency` object
        - `currencyCode` string
      - `notes` Notes — Notes and instructions.
        - `general` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `orderInstructions` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `shippingInstructions` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `giftMessage` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `packingSlipMessage` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
      - `lineItems` InventoryLineItem[] — REQUIRED. Inventory line items.
        - `lineNumber` string — Line item number.
        - `productIds` ProductIds — Product identifiers.
          - `buyerItemNumber` string
          - `vendorItemNumber` string
          - `gtin12` string
          - `gtin13` string
          - `gtin14` string
          - `caseCode` string
          - `drugCode` string
          - `standardBookNumber` string
          - `buyerItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
          - `vendorItemIds` ProductIdDetail[]
            - `type` string — REQUIRED. Product ID type.
            - `value` string — REQUIRED. Product ID value.
        - `productAttributes` ProductAttributes
          - `description` string
          - `colorCode` string
          - `colorDescription` string
          - `sizeCode` string
          - `sizeDescription` string
          - `materialCode` string
          - `materialDescription` string
          - `processCode` string
          - `processDescription` string
          - `height` string
          - `width` string
        - `itemStatus` 'inStock' | 'outOfStock' | 'discontinued' | 'backorder' — Current item availability status.
        - `unitOfMeasure` string — Unit of measure for inventory quantities.
        - `inventoryQuantities` InventoryQuantity[] — Inventory quantity details by type and location.
          - `locationId` string — Location identifier.
          - `type` 'available' | 'allocated' | 'incoming' | 'unavailable' | 'onHand' | 'committed' — Quantity type.
          - `quantity` string — Quantity value.
          - `availableDate` string, date — Date when quantity becomes available.
        - `unlimitedAvailability` boolean — Whether the item has unlimited availability (e.g., dropship).
        - `unitCostPrice` string — Unit cost price.
        - `references` References — Reference numbers.
          - `accountNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `arrivalCode` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `associatedPurchaseOrderNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `reservationNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `customerOrderNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `deliveryReference` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `divisionId` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `departmentNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `internalCustomerNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `vendorNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `merchandiseTypeCode` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `promotionNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `storeNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `thirdPartyReferenceNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `warehouseStorageLocation` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `shipmentNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
          - `invoiceNumber` ReferenceDetail
            - `value` string — REQUIRED. Reference value.
            - `description` string
    - 860PURCHASEORDERCHANGE — Purchase Order Change document - Buyer modifies an existing order.
      - `purpose` 'change' | 'cancellation' — REQUIRED. Change purpose.
      - `purchaseOrderType` 'blanketEstimated' | 'blanketFirm' | 'dropship' | 'release' | 'rushOrder' | 'standalone' — PO type.
      - `purchaseOrderChangeType` 'order' | 'standing' — Type of change.
      - `purchaseOrderNumber` string — REQUIRED. Original PO number being changed.
      - `purchaseOrderDate` string, date — REQUIRED. Original PO date.
      - `purchaseOrderChangeDate` string, date — REQUIRED. Date of the change.
      - `changeSequenceNumber` string — Sequence number for tracking multiple changes.
      - `acknowledgmentType` 'withDetail' | 'withoutDetail' — Acknowledgment request type.
      - `parties` Parties — Trading partner information.
        - `buyer` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `shipTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `billTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `shipFrom` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `accountsPayable` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `soldTo` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
        - `supplier` Party — Party details.
          - `name` string — Party name (N102).
          - `additionalName1` string
          - `additionalName2` string
          - `identificationCode` string — ID code (N104).
          - `identificationCodeType` 'sendersId' | 'receiversId' | 'duns' | 'pantCode' | 'dunsPlus4' | 'drugEnforcementAdmin' | 'telephone' | 'federalReserveRouting' | 'standardAddressSAN' | 'healthIndustryHIN' | 'warehouse' | 'schoolId' | 'memberId' | 'stateLicenseId' | 'globalLocationId'
          - `addressLine1` string
          - `addressLine2` string
          - `addressLine3` string
          - `addressLine4` string
          - `city` string
          - `stateOrProvinceCode` string
          - `postalCode` string
          - `countryCode` string
          - `zoneType` 'residential' | 'commercial'
          - `contacts` Contact[]
            - `type` 'primary' | 'customerRelations' | 'orderInquiry' | 'department' | 'shipping' | 'receiving' | 'hazmat'
            - `name` string
            - `phoneNumber` string
            - `faxNumber` string
            - `email` string
      - `references` References — Reference numbers.
        - `accountNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `arrivalCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `associatedPurchaseOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `reservationNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `customerOrderNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `deliveryReference` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `divisionId` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `departmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `internalCustomerNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `vendorNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `merchandiseTypeCode` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `promotionNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `storeNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `thirdPartyReferenceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `warehouseStorageLocation` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `shipmentNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
        - `invoiceNumber` ReferenceDetail
          - `value` string — REQUIRED. Reference value.
          - `description` string
      - `dates` Dates — Order dates.
        - `cancelAfterDate` string, date
        - `customerOrderDate` string, date
        - `earliestDeliveryDate` string, date
        - `earliestShipDate` string, date
        - `latestShipDate` string, date
        - `latestDeliveryDate` string, date
        - `pickupDate` string, date
        - `promotionStartDate` string, date
        - `purchaseOrderDate` string, date
        - `requestedDeliveryDate` string, date
        - `requestedShipDate` string, date
        - `requestedDeliveryWeekOfDate` string, date
      - `notes` Notes — Notes and instructions.
        - `general` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `orderInstructions` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `shippingInstructions` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `giftMessage` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
        - `packingSlipMessage` NoteDetail
          - `description` string
          - `text` string[] — Note text lines.
      - `termsOfSale` TermsOfSale — Payment terms.
        - `type` 'basic' | 'basicDiscountOffered' | 'discountNotApplicable' | 'endOfMonth' | 'endOfMonth10' | 'instant' | 'mutuallyDefined'
        - `basisDate` 'invoiceDate' | 'receiptOfGoods' | 'deliveryDate' | 'shipDate' | 'mutuallyDefined' | 'gageApprovalDate' | 'specifiedDate' | 'acceptanceDate' | 'invoiceTransmissionDate' | 'effectiveDate'
        - `discountPercent` string
        - `discountDaysDue` integer — Number of days in the discount period.
        - `discountDueDate` string, date
        - `dayOfMonth` integer
        - `netDaysDue` integer — Number of days until total invoice amount is due.
        - `netDueDate` string, date
        - `discountAmount` string — Total discount amount.
        - `description` string
        - `paymentMethodType` 'check' | 'letterOfCredit' | 'wireTransfer' | 'corporateTradePayment' | 'specialAccount' | 'directPayOthers'
      - `carrierDetails` CarrierDetails — Shipping details.
        - `routing` RoutingDetails[]
          - `sequenceType` 'origin' | '1stAfterOrigin' | '4thAfterOrigin' | 'haulage'
          - `standardCarrierAlphaCode` string — SCAC code.
          - `customCarrierCode` string
          - `transportationMethod` 'air' | 'airExpress' | 'airFreightForward' | 'backhaul' | 'bestWay' | 'commonCarrier' | 'consolidation' | 'customerPickup' | 'expeditedTruck' | 'lessThanTrailerLoad' | 'mail' | 'ocean' | 'oceanContainerized' | 'parcelPost' | 'privateCarrier' | 'rail' | 'shipperAgent' | 'supplierTruck' | 'mutuallyDefined'
          - `locationType` 'inStore' | 'receiversLocation' | 'allPoints' | 'portOfArrival' | 'portOfEmbarkation' | 'origin' | 'mutuallyDefined'
          - `location` string
          - `description` string
          - `serviceLevel` 'deliveryConfirmation' | 'doorService' | 'economy' | 'eveningService' | 'expedited' | 'firstClass' | 'ground' | 'groundHundredWeight' | 'international' | 'metro' | 'morning' | 'nextDayAir' | 'nextDayHundredWeight' | 'nextDayEvening' | 'nextDayMorning1030' | 'nextDayMorning930' | 'overnight' | 'poBoxZipCode' | 'priorityMail' | 'priorityMailInsured' | 'proofOfDelivery' | 'sameDay' | 'saturdayService' | 'secondDay' | 'secondDayHundredWeight' | 'secondDayAir' | 'standard' | 'standardGround' | 'threeDay'
          - `orderStatus` 'shipCompleteOnDate' | 'complete' | 'partialShipment' | 'shipPartialBackorderToShipOnDate' | 'partialShipOnDate' | 'shipped' | 'backordered' | 'mutuallyDefined' | 'availableScheduledToShip' | 'availableNoShipSchedule' | 'multiPickup' | 'availableToShipUnBilledQuantity' | 'stopOff'
          - `transitDirectionType` 'buyerToSeller' | 'sellerToBuyer' | 'subcontractorToSeller' | 'sellerToDropShipLocation' | 'sellToForwarder' | 'sellerToSubcontractor' | 'mutuallyDefined'
          - `transitTimeType` 'calendarDays' | 'hours' | 'workingDays'
          - `transitTime` string
        - `freeOnBoard` FOBDetails[]
          - `methodOfPayment` 'airCollect' | 'airPrepaid' | 'paidByBuyer' | 'collect' | 'mutuallyAgreed' | 'portOfCall' | 'halfPrepaid' | 'mixed' | 'serviceFreightNoCharge' | 'advancePrepaid' | 'customerPickupBackhaul' | 'prepaidChargeCustomer' | 'prepaidBySeller' | 'paidBySeller' | 'pickup' | 'thirdPartyPay'
          - `locationType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
          - `locationDescription` string — FOB location description.
          - `titlePassageType` 'cityAndState' | 'country' | 'destination' | 'origin' | 'stateProvince' | 'warehouse'
          - `titlePassageDescription` string
          - `transportationTermsSource` 'incoTerms' | 'tradeTerms' | 'mutuallyDefined'
          - `transportationTerms` 'costAndFreight' | 'costInsuranceAndFreight' | 'carriageAndInsurancePaidTo' | 'carriagePaidTo' | 'deliveredAtFrontier' | 'deliverDutyPaid' | 'deliverDutyUnpaid' | 'deliveredDutyUnpaid' | 'deliveredExQuay' | 'deliveredExShip' | 'domesticallySupplied' | 'exQuay' | 'exShip' | 'exWorks' | 'freeAlongsideShip' | 'freeCarrier' | 'freightCarriageInsurancePaidTo' | 'freightCarriagePaidTo' | 'freeOnBoard' | 'freeOnRail' | 'freePnTruck' | 'nonPrivilegedForeign' | 'privilegedForeign' | 'mutuallyDefined'
          - `riskOfLoss` 'toDestinationBuyer' | 'toFreightEqPointSeller' | 'toPoolPointSeller' | 'toDestinationSeller' | 'mutuallyDefined'
          - `description` string
        - `specialHandling` SpecialHandlingDetails[]
          - `handlingType` string
          - `description` string
          - `materialId` string
          - `materialClass` string
          - `conditionResponse` boolean
      - `buyersCurrency` object
        - `currencyCode` string
      - `lineItems` POChangeLineItem[] — REQUIRED. Changed line items.
        - `purchaseOrderLineId` string — Line item identifier.
        - `changeReason` 'changeToItem' | 'addItem' | 'deleteItem' | 'priceChange' | 'quantityChange' — REQUIRED. Reason for the change.
        - `originalQuantity` Quantity
          - `value` string — REQUIRED. Quantity value.
          - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
        - `changeInQuantity` Quantity
          - `value` string — REQUIRED. Quantity value.
          - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
        - `quantity` Quantity
          - `value` string — REQUIRED. Quantity value.
          - `unitOfMeasure` 'ball' | 'assortment' | 'ocularInsertSystem' | 'bundle' | 'bag' | 'bottle' | 'belt' | 'box' | 'cell' | 'case' | 'card' | 'container' | 'can' | 'cartridge' | 'cassette' | 'carton' | 'coil' | 'combo' | 'drum' | 'display' | 'dozen' | 'each' | 'knots' | 'order' | 'flakeTon' | 'foot' | 'gallon' | 'gram' | 'person' | 'kit' | 'pound' | 'linearFoot' | 'monetaryValue' | 'milliliter' | 'meter' | 'ounce' | 'threePack' | 'sixPack' | 'pail' | 'pairInches' | 'piece' | 'pad' | 'palletLift' | 'packPAK' | 'package' | 'palletUnitLoad' | 'pair' | 'pint' | 'quart' | 'reel' | 'roll' | 'section' | 'squareFoot' | 'sheet' | 'set' | 'syringe' | 'tube' | 'tote' | 'thousand' | 'unit' | 'vial'
        - `unitCostPrice` string — Unit cost price.
        - `unitPriceBasis` string
        - `productIds` ProductIds — Product identifiers.
          - `buyerItemNumber` string
          - `vendorItemNumber` string
          - `gtin12` string
          - `gtin13` string
          - `gtin14` string
- … truncated; see the full OpenAPI document linked below

## Response `202`

Transaction processing. Check the status field to determine if the transaction was successfully accepted for processing or failed.

- CreateTransactionResponseV4Dto
  - `id` string, required — Transaction id.
  - `status` 'FAILED' | 'ACCEPTED', required — Status of the request.
  - `detail` string, required — Error detail message.
  - `validationErrors` ValidationErrorDto[] — Validation errors.
    - `payloadPaths` string[], nullable, required — Path in the original payload where the error occurred.
    - `errorMessage` string, required — Error message describing the validation failure.
    - `outputPath` string, required — Path in the output/transformed message where the error occurred.

---

[API](https://skmtc.dev/orderful/apis/orderful-api.md) · [All operations](https://skmtc.dev/orderful/apis/orderful-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orderful/orderful-api/revisions/c2e12b39b4e1/schema)
