> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kibocommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve EDI 850 Purchase Order

> Generates an EDI 850 Purchase Order (returned as JSON) for the specified shipment, resolving the vendor, contracted pricing, and ship-to address from the shipment's fulfillment location. See the <a href="/developer-guides/dropship">Dropship Developer Guide</a> for the complete segment mapping, validation rules, and workflow.



## OpenAPI

````yaml /openapi/openapi_dropship.json get /commerce/dropship/purchaseorder/{shipmentNumber}
openapi: 3.0.1
info:
  description: OpenAPI Spec for Kibo DropShip Service
  title: DropShip
  version: 0.0.1
servers:
  - description: Kibo Base URL
    url: '{baseUrl}/api'
    variables:
      baseUrl:
        default: https://t1000000.sb.usc1.gcp.kibocommerce.com
        description: Base URL
security:
  - bearerAuth: []
paths:
  /commerce/dropship/purchaseorder/{shipmentNumber}:
    get:
      tags:
        - DropShip
      summary: Retrieve EDI 850 Purchase Order
      description: >-
        Generates an EDI 850 Purchase Order (returned as JSON) for the specified
        shipment, resolving the vendor, contracted pricing, and ship-to address
        from the shipment's fulfillment location. See the <a
        href="/developer-guides/dropship">Dropship Developer Guide</a> for the
        complete segment mapping, validation rules, and workflow.
      parameters:
        - description: The shipment number to generate EDI 850 for
          in: path
          name: shipmentNumber
          required: true
          schema:
            format: int32
            type: integer
        - description: limits which fields are returned in the response body
          in: query
          name: responseFields
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionSet'
            text/json:
              schema:
                $ref: '#/components/schemas/TransactionSet'
            text/plain:
              schema:
                $ref: '#/components/schemas/TransactionSet'
          description: OK
components:
  schemas:
    TransactionSet:
      description: "TransactionSet - Complete 850 Purchase Order Transaction Set\r\nContains all segments and loops for a complete EDI 850 Purchase Order transaction"
      properties:
        administrativeCommunicationsContact:
          description: "PER - Administrative Communications Contact\r\nTo identify a person or office to whom administrative communications should be directed"
          items:
            $ref: '#/components/schemas/AdministrativeCommunicationsContact'
          nullable: true
          type: array
        advertisingDemographicInformation:
          description: "ADV - Advertising Demographic Information\r\nTo specify advertising demographic information"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        beginningSegmentForPurchaseOrder:
          description: "BEG - Beginning Segment for Purchase Order\r\nTo indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates"
          items:
            $ref: '#/components/schemas/BeginningSegmentForPurchaseOrder'
          nullable: true
          type: array
        carrierDetails:
          description: "TD1 - Carrier Details (Quantity and Weight)\r\nTo specify the transportation details relative to commodity, weight, and quantity"
          items:
            $ref: '#/components/schemas/CarrierDetailsRoutingSequenceTransitTime'
          nullable: true
          type: array
        carrierEquipmentDetails:
          description: "TD3 - Carrier Details (Equipment)\r\nTo specify transportation details relating to the equipment used by the carrier"
          items:
            $ref: '#/components/schemas/CarrierDetailsRoutingSequenceTransitTime'
          nullable: true
          type: array
        carrierSpecialHandling:
          description: "TD4 - Carrier Details (Special Handling, or Hazardous Materials, or Both)\r\nTo specify transportation special handling requirements, or hazardous materials, or both"
          items:
            $ref: '#/components/schemas/CarrierDetailsRoutingSequenceTransitTime'
          nullable: true
          type: array
        codeSourceInformation:
          description: "LM - Code Source Information\r\nTo transmit standard code list identification information"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        ctT_loop:
          description: "CTT Loop - Transaction Totals Loop\r\nContains transaction totals and related monetary information"
          items:
            $ref: '#/components/schemas/CTT_Loop'
          nullable: true
          type: array
        currency:
          description: "CUR - Currency\r\nTo specify the currency (dollars, pounds, francs, etc.) used in a transaction"
          items:
            $ref: '#/components/schemas/DropShipCurrency'
          nullable: true
          type: array
        dateTimeReference:
          description: "DTM - Date/Time Reference\r\nTo specify pertinent dates and times"
          items:
            $ref: '#/components/schemas/DateTimeReference'
          nullable: true
          type: array
        discountDetail:
          description: "DIS - Discount Detail\r\nTo specify the exact type and terms of various discount information"
          items:
            $ref: '#/components/schemas/MonetaryAmountInformation'
          nullable: true
          type: array
        extendedReferenceLoop:
          description: "N9 Loop - Extended Reference Information Loop\r\nContains extended reference information and related text"
          items:
            $ref: '#/components/schemas/N9_Loop'
          nullable: true
          type: array
        installmentInformation:
          description: "INC - Installment Information\r\nTo specify installment billing arrangement information"
          items:
            $ref: '#/components/schemas/MonetaryAmountInformation'
          nullable: true
          type: array
        itemIdentification:
          description: "LIN - Item Identification\r\nTo specify basic item identification data"
          items:
            $ref: '#/components/schemas/BaselineItemData'
          nullable: true
          type: array
        leadTime:
          description: "LDT - Lead Time\r\nTo specify lead time for availability of products and services"
          items:
            $ref: '#/components/schemas/DateTimeReference'
          nullable: true
          type: array
        marksAndNumbers:
          description: "MAN - Marks and Numbers\r\nTo indicate identifying marks and numbers for shipping containers"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        measurements:
          description: "MEA - Measurements\r\nTo specify physical measurements or counts, including dimensions, tolerances, variances, and weights"
          items:
            $ref: '#/components/schemas/ItemPhysicalDetails'
          nullable: true
          type: array
        n1_loop:
          description: "N1 Loop - Party Identification Loop\r\nContains party information including identification, additional names, location, and geographic details"
          items:
            $ref: '#/components/schemas/N1_Loop'
          nullable: true
          type: array
        pO1_loop:
          description: "PO1 Loop - Baseline Item Data Loop\r\nContains complete line item information including baseline data, pricing, physical details, and related segments"
          items:
            $ref: '#/components/schemas/PO1_Loop'
          nullable: true
          type: array
        packagingInformation:
          description: "PKG - Marking, Packaging, Loading\r\nTo describe marking, packaging, loading, and unloading requirements"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        paperwork:
          description: "PWK - Paperwork\r\nTo identify the type or transmission or both of paperwork or supporting information"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        periodAmount:
          description: "PAM - Period Amount\r\nTo indicate a quantity, and/or amount for an identified period"
          items:
            $ref: '#/components/schemas/MonetaryAmountInformation'
          nullable: true
          type: array
        pricingInformation:
          description: "CTP - Pricing Information\r\nTo specify pricing information"
          items:
            $ref: '#/components/schemas/PricingInformation'
          nullable: true
          type: array
        productItemDescription:
          description: "PID - Product/Item Description\r\nTo describe a product or process in coded or free-form format"
          items:
            $ref: '#/components/schemas/ProductItemDescription'
          nullable: true
          type: array
        referenceInformation:
          description: "REF - Reference Information\r\nTo specify identifying information"
          items:
            $ref: '#/components/schemas/ReferenceInformation'
          nullable: true
          type: array
        salesRequirements:
          description: "CSH - Sales Requirements\r\nTo specify sales conditions"
          items:
            $ref: '#/components/schemas/SalesRequirements'
          nullable: true
          type: array
        serviceCharacteristic:
          description: "SI - Service Characteristic Identification\r\nTo specify service characteristic data"
          items:
            $ref: '#/components/schemas/ProductItemDescription'
          nullable: true
          type: array
        servicePromotionAllowanceChargeLoop:
          description: "SAC Loop - Service, Promotion, Allowance, or Charge Information Loop\r\nTo request or identify a service, promotion, allowance, or charge; or to report a condition"
          items:
            $ref: '#/components/schemas/SAC_Loop'
          nullable: true
          type: array
        specificationIdentifier:
          description: "SPI - Specification Identifier\r\nTo provide a description of the included specification or technical data items"
          items:
            $ref: '#/components/schemas/ProductItemDescription'
          nullable: true
          type: array
        taxReference:
          description: "TAX - Tax Reference\r\nTo specify tax information"
          items:
            $ref: '#/components/schemas/ReferenceInformation'
          nullable: true
          type: array
        termsOfSaleDeferredTermsOfSale:
          description: "ITD - Terms of Sale/Deferred Terms of Sale\r\nTo specify terms of sale"
          items:
            $ref: '#/components/schemas/TermsOfSaleDeferredTermsOfSale'
          nullable: true
          type: array
        transactionSetHeader:
          description: "ST - Transaction Set Header\r\nTo indicate the start of a transaction set and to assign a control number"
          items:
            $ref: '#/components/schemas/TransactionSetHeader'
          nullable: true
          type: array
        transactionSetTrailer:
          description: "SE - Transaction Set Trailer\r\nTo indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)"
          items:
            $ref: '#/components/schemas/TransactionSetTrailer'
          nullable: true
          type: array
      type: object
    AdministrativeCommunicationsContact:
      description: >-
        Administrative Communications Contact (PER) - Contact information
        (REUSABLE)
      properties:
        communicationNumber:
          description: Communication Number
          nullable: true
          type: string
        communicationNumber1:
          description: Communication Number 1
          nullable: true
          type: string
        communicationNumber2:
          description: Communication Number 2
          nullable: true
          type: string
        communicationNumberQualifier:
          description: Communication Number Qualifier
          nullable: true
          type: string
        communicationNumberQualifier1:
          description: Communication Number Qualifier 1
          nullable: true
          type: string
        communicationNumberQualifier2:
          description: Communication Number Qualifier 2
          nullable: true
          type: string
        contactFunctionCode:
          description: Contact Function Code
          nullable: true
          type: string
        contactInquiryReference:
          description: Contact Inquiry Reference
          nullable: true
          type: string
        name:
          description: Name
          nullable: true
          type: string
      type: object
    Text:
      description: Text (MSG) - Text information
      properties:
        textualData:
          description: Textual Data
          nullable: true
          type: string
      type: object
    BeginningSegmentForPurchaseOrder:
      description: >-
        Beginning Segment for Purchase Order (BEG) - Indicates the beginning of
        a Purchase Order Transaction Set
      properties:
        date:
          description: Date (CCYYMMDD format)
          nullable: true
          type: string
        purchaseOrderNumber:
          description: Purchase Order Number
          nullable: true
          type: string
        purchaseOrderTypeCode:
          description: Purchase Order Type Code
          nullable: true
          type: string
        transactionSetPurposeCode:
          description: Transaction Set Purpose Code
          nullable: true
          type: string
      type: object
    CarrierDetailsRoutingSequenceTransitTime:
      description: >-
        Carrier Details (Routing Sequence/Transit Time) (TD5) - Carrier and
        routing information (REUSABLE)
      properties:
        identificationCode:
          description: Identification Code
          nullable: true
          type: string
        identificationCodeQualifier:
          description: Identification Code Qualifier
          nullable: true
          type: string
        locationIdentifier:
          description: Location Identifier
          nullable: true
          type: string
        locationQualifier:
          description: Location Qualifier
          nullable: true
          type: string
      type: object
    CTT_Loop:
      description: "CTT Loop - Transaction Totals Loop\r\nContains transaction totals and related monetary information"
      properties:
        monetaryAmountInformation:
          description: "AMT - Monetary Amount Information\r\nTo indicate the total monetary amount"
          items:
            $ref: '#/components/schemas/MonetaryAmountInformation'
          nullable: true
          type: array
        transactionTotals:
          description: "CTT - Transaction Totals\r\nTo transmit a hash total for a specific element in the transaction set"
          items:
            $ref: '#/components/schemas/TransactionTotals'
          nullable: true
          type: array
      type: object
    DropShipCurrency:
      description: Currency (CUR) - Identifies the monetary unit
      properties:
        currencyCode:
          description: Currency Code (e.g., USD, EUR, CAD)
          nullable: true
          type: string
        entityIdentifierCode:
          description: Entity Identifier Code
          nullable: true
          type: string
      type: object
    DateTimeReference:
      description: Date/Time Reference (DTM) - Date and time information (REUSABLE)
      properties:
        date:
          description: Date (CCYYMMDD format)
          nullable: true
          type: string
        dateTimeQualifier:
          description: Date/Time Qualifier
          nullable: true
          type: string
        time:
          description: Time (HHMM or HHMMSS format)
          nullable: true
          type: string
        timeCode:
          description: Time Code
          nullable: true
          type: string
      type: object
    MonetaryAmountInformation:
      description: >-
        Monetary Amount Information (AMT) - Monetary amount information
        (REUSABLE)
      properties:
        amountQualifierCode:
          description: Amount Qualifier Code
          nullable: true
          type: string
        monetaryAmount:
          description: Monetary Amount
          format: double
          nullable: true
          type: number
      type: object
    N9_Loop:
      description: "N9 Loop - Extended Reference Information Loop\r\nContains Extended Reference Information and related Message Text segments"
      properties:
        extendedReferenceInformation:
          description: "N9 - Extended Reference Information\r\nTo transmit identifying information as specified by the Reference Identification Qualifier"
          items:
            $ref: '#/components/schemas/ExtendedReferenceInformation'
          nullable: true
          type: array
        messageText:
          description: "MSG - Message Text\r\nTo provide a free-form format that allows the transmission of text information"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
      type: object
    BaselineItemData:
      description: Baseline Item Data (PO1) - Line item information for purchase order
      properties:
        assignedIdentification:
          description: Assigned Identification
          nullable: true
          type: string
        basisOfUnitPriceCode:
          description: Basis of Unit Price Code
          nullable: true
          type: string
        productServiceID:
          description: Product/Service ID
          nullable: true
          type: string
        productServiceID2:
          description: Product/Service ID 2
          nullable: true
          type: string
        productServiceID3:
          description: Product/Service ID 3
          nullable: true
          type: string
        productServiceID4:
          description: Product/Service ID 4
          nullable: true
          type: string
        productServiceIDQualifier:
          description: Product/Service ID Qualifier
          nullable: true
          type: string
        productServiceIDQualifier2:
          description: Product/Service ID Qualifier 2
          nullable: true
          type: string
        productServiceIDQualifier3:
          description: Product/Service ID Qualifier 3
          nullable: true
          type: string
        productServiceIDQualifier4:
          description: Product/Service ID Qualifier 4
          nullable: true
          type: string
        quantity:
          description: Quantity
          nullable: true
          type: string
        unitOrBasisForMeasurementCode:
          description: Unit or Basis for Measurement Code
          nullable: true
          type: string
        unitPrice:
          description: Unit Price
          nullable: true
          type: string
      type: object
    ItemPhysicalDetails:
      description: Item Physical Details (PO4) - Physical characteristics of items
      properties:
        grossVolumePerPack:
          description: Gross Volume per Pack
          nullable: true
          type: string
        grossWeightPerPack:
          description: Gross Weight per Pack
          nullable: true
          type: string
        height:
          description: Height
          nullable: true
          type: string
        length:
          description: Length
          nullable: true
          type: string
        pack:
          description: Pack
          nullable: true
          type: string
        packagingCode:
          description: Packaging Code
          nullable: true
          type: string
        size:
          description: Size
          nullable: true
          type: string
        unitOrBasisForMeasurementCode:
          description: Unit or Basis for Measurement Code
          nullable: true
          type: string
        unitOrBasisForMeasurementCode1:
          description: Unit or Basis for Measurement Code 1
          nullable: true
          type: string
        unitOrBasisForMeasurementCode2:
          description: Unit or Basis for Measurement Code 2
          nullable: true
          type: string
        unitOrBasisForMeasurementCode3:
          description: Unit or Basis for Measurement Code 3
          nullable: true
          type: string
        weightQualifier:
          description: Weight Qualifier
          nullable: true
          type: string
        width:
          description: Width
          nullable: true
          type: string
      type: object
    N1_Loop:
      description: "N1 Loop - Party Identification Loop\r\nContains party information including identification, additional names, location, and geographic details"
      properties:
        additionalNameInformation:
          description: "N2 - Additional Name Information\r\nTo specify additional names or those longer than 35 characters in length"
          items:
            $ref: '#/components/schemas/AdditionalNameInformation'
          nullable: true
          type: array
        administrativeCommunicationsContact:
          description: "PER - Administrative Communications Contact\r\nTo identify a person or office to whom administrative communications should be directed"
          items:
            $ref: '#/components/schemas/AdministrativeCommunicationsContact'
          nullable: true
          type: array
        geographicLocation:
          description: "N4 - Geographic Location\r\nTo specify the geographic place of the named party"
          items:
            $ref: '#/components/schemas/GeographicLocation'
          nullable: true
          type: array
        partyIdentification:
          description: "N1 - Party Identification\r\nTo identify a party by type of organization, name, and code"
          items:
            $ref: '#/components/schemas/PartyIdentification'
          nullable: true
          type: array
        partyLocation:
          description: "N3 - Party Location\r\nTo specify the location of the named party"
          items:
            $ref: '#/components/schemas/PartyLocation'
          nullable: true
          type: array
        referenceInformation:
          description: "REF - Reference Information\r\nTo specify identifying information"
          items:
            $ref: '#/components/schemas/ReferenceInformation'
          nullable: true
          type: array
      type: object
    PO1_Loop:
      description: "PO1 Loop - Baseline Item Data Loop\r\nContains complete line item information including baseline data, pricing, physical details, and related segments"
      properties:
        administrativeCommunicationsContact:
          description: "PER - Administrative Communications Contact\r\nTo identify a person or office to whom administrative communications should be directed"
          items:
            $ref: '#/components/schemas/AdministrativeCommunicationsContact'
          nullable: true
          type: array
        baselineItemData:
          description: "PO1 - Baseline Item Data\r\nTo specify basic and most frequently used line item data"
          items:
            $ref: '#/components/schemas/BaselineItemData'
          nullable: true
          type: array
        carrierDetailsRoutingSequenceTransitTime:
          description: "TD5 - Carrier Details (Routing Sequence/Transit Time)\r\nTo specify the carrier and sequence of routing and provide transit time information"
          items:
            $ref: '#/components/schemas/CarrierDetailsRoutingSequenceTransitTime'
          nullable: true
          type: array
        conditionsOfSale:
          description: "IT8 - Conditions of Sale\r\nTo specify the conditions under which the sale is made"
          items:
            $ref: '#/components/schemas/SalesRequirements'
          nullable: true
          type: array
        currency:
          description: "CUR - Currency\r\nTo specify the currency (dollars, pounds, francs, etc.) used in a transaction"
          items:
            $ref: '#/components/schemas/DropShipCurrency'
          nullable: true
          type: array
        dateTimeReference:
          description: "DTM - Date/Time Reference\r\nTo specify pertinent dates and times"
          items:
            $ref: '#/components/schemas/DateTimeReference'
          nullable: true
          type: array
        discountDetail:
          description: "DIS - Discount Detail\r\nTo specify the exact type and terms of various discount information"
          items:
            $ref: '#/components/schemas/MonetaryAmountInformation'
          nullable: true
          type: array
        installmentInformation:
          description: "INC - Installment Information\r\nTo specify installment billing arrangement information"
          items:
            $ref: '#/components/schemas/MonetaryAmountInformation'
          nullable: true
          type: array
        itemIdentification:
          description: "LIN - Item Identification\r\nTo specify basic item identification data"
          items:
            $ref: '#/components/schemas/BaselineItemData'
          nullable: true
          type: array
        itemPhysicalDetails:
          description: "PO4 - Item Physical Details\r\nTo specify physical measurements or counts, including dimensions, tolerances, variances, and weights"
          items:
            $ref: '#/components/schemas/ItemPhysicalDetails'
          nullable: true
          type: array
        leadTime:
          description: "LDT - Lead Time\r\nTo specify lead time for availability of products and services"
          items:
            $ref: '#/components/schemas/DateTimeReference'
          nullable: true
          type: array
        loopHeaderTrailer:
          description: "LS/LE - Loop Header/Loop Trailer\r\nTo indicate that the next segment begins a loop"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        monetaryAmountInformation:
          description: "AMT - Monetary Amount Information\r\nTo indicate the total monetary amount"
          items:
            $ref: '#/components/schemas/MonetaryAmountInformation'
          nullable: true
          type: array
        n1_loop:
          description: "N1 Loop - Party Identification Loop\r\nContains party information for the line item"
          items:
            $ref: '#/components/schemas/N1_Loop'
          nullable: true
          type: array
        packagingInformation:
          description: "PKG - Marking, Packaging, Loading\r\nTo describe marking, packaging, loading, and unloading requirements"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        packagingLoop:
          description: "PKG - Marking, Packaging, Loading Loop\r\nContains packaging information and related details"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        paperwork:
          description: "PWK - Paperwork\r\nTo identify the type or transmission or both of paperwork or supporting information"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        paperworkLoop:
          description: "PWK - Paperwork Loop\r\nContains paperwork identification and related information"
          items:
            $ref: '#/components/schemas/Text'
          nullable: true
          type: array
        piD_loop:
          description: "PID - Product/Item Description\r\nTo describe a product or process in coded or free-form format"
          items:
            $ref: '#/components/schemas/PID_Loop'
          nullable: true
          type: array
        pricingLoop:
          description: "CTP - Pricing Information\r\nTo specify pricing information"
          items:
            $ref: '#/components/schemas/CTP_Loop'
          nullable: true
          type: array
        productItemDescriptionLoop:
          description: "PID Loop - Product/Item Description Loop\r\nContains product/item descriptions and related information"
          items:
            $ref: '#/components/schemas/PID_Loop'
          nullable: true
          type: array
        referenceInformation:
          description: "REF - Reference Information\r\nTo specify identifying information"
          items:
            $ref: '#/components/schemas/ReferenceInformation'
          nullable: true
          type: array
        salesRequirements:
          description: "CSH - Sales Requirements\r\nTo specify sales conditions"
          items:
            $ref: '#/components/schemas/SalesRequirements'
          nullable: true
          type: array
        serviceCharacteristic:
          description: "SI - Service Characteristic Identification\r\nTo specify service characteristic data"
          items:
            $ref: '#/components/schemas/ProductItemDescription'
          nullable: true
          type: array
        servicePromotionAllowanceChargeLoop:
          description: "SAC - Service, Promotion, Allowance, or Charge Information\r\nTo request or identify a service, promotion, allowance, or charge; or to report a condition"
          items:
            $ref: '#/components/schemas/SAC_Loop'
          nullable: true
          type: array
        sublineItemDetail:
          description: "SLN - Subline Item Detail\r\nTo specify product subline detail item data"
          items:
            $ref: '#/components/schemas/BaselineItemData'
          nullable: true
          type: array
        termsOfSale:
          description: "ITD - Terms of Sale/Deferred Terms of Sale\r\nTo specify terms of sale"
          items:
            $ref: '#/components/schemas/TermsOfSaleDeferredTermsOfSale'
          nullable: true
          type: array
      type: object
    PricingInformation:
      description: Pricing Information (CTP) - Pricing information for items
      properties:
        classOfTradeCode:
          description: Class of Trade Code
          nullable: true
          type: string
        priceIdentifierCode:
          description: Price Identifier Code
          nullable: true
          type: string
        unitPrice:
          description: Unit Price
          nullable: true
          type: string
      type: object
    ProductItemDescription:
      description: >-
        Product/Item Description (PID) - Product description information
        (REUSABLE)
      properties:
        description:
          description: Description
          nullable: true
          type: string
        itemDescriptionTypeCode:
          description: Item Description Type Code
          nullable: true
          type: string
        productProcessCharacteristicCode:
          description: Product/Process Characteristic Code
          nullable: true
          type: string
      type: object
    ReferenceInformation:
      description: >-
        Reference Information (REF) - Reference identification information
        (REUSABLE)
      properties:
        referenceIdentification:
          description: Reference Identification
          nullable: true
          type: string
        referenceIdentificationQualifier:
          description: Reference Identification Qualifier
          nullable: true
          type: string
      type: object
    SalesRequirements:
      description: Sales Requirements (SAL) - Sales information
      properties:
        actionCode:
          description: Action Code
          nullable: true
          type: string
        amount:
          description: Amount
          nullable: true
          type: string
        salesRequirementCode:
          description: Sales Requirement Code
          nullable: true
          type: string
      type: object
    SAC_Loop:
      description: "SAC Loop - Service, Promotion, Allowance, or Charge Information Loop\r\nContains Service/Promotion/Allowance/Charge Information segments"
      properties:
        servicePromotionAllowanceOrChargeInformation:
          description: "SAC01 - Allowance or Charge Indicator\r\nCode which indicates an allowance or charge for the service specified"
          items:
            $ref: '#/components/schemas/ServicePromotionAllowanceOrChargeInformation'
          nullable: true
          type: array
      type: object
    TermsOfSaleDeferredTermsOfSale:
      description: Terms of Sale/Deferred Terms of Sale (ITD) - Terms of sale information
      properties:
        dayOfMonth:
          description: Day of Month
          nullable: true
          type: string
        description:
          description: Description
          nullable: true
          type: string
        paymentMethodTypeCode:
          description: Payment Method Type Code
          nullable: true
          type: string
        termsBasisDateCode:
          description: Terms Basis Date Code
          nullable: true
          type: string
        termsDiscountAmount:
          description: Terms Discount Amount
          nullable: true
          type: string
        termsNetDays:
          description: Terms Net Days
          nullable: true
          type: string
        termsTypeCode:
          description: Terms Type Code
          nullable: true
          type: string
      type: object
    TransactionSetHeader:
      description: >-
        Transaction Set Header (ST) - Starts a transaction set and assigns a
        control number
      properties:
        transactionSetControlNumber:
          description: Transaction Set Control Number
          nullable: true
          type: string
        transactionSetIdentifierCode:
          description: Transaction Set Identifier Code (e.g., "850" for Purchase Order)
          nullable: true
          type: string
      type: object
    TransactionSetTrailer:
      description: >-
        Transaction Set Trailer (SE) - Ends a transaction set and provides
        segment count
      properties:
        numberOfIncludedSegments:
          description: Number of Included Segments (including ST and SE segments)
          nullable: true
          type: string
        transactionSetControlNumber:
          description: Transaction Set Control Number (must match ST02)
          nullable: true
          type: string
      type: object
    TransactionTotals:
      description: Transaction Totals (CTT) - Transaction set totals
      properties:
        hashTotal:
          description: Hash Total
          nullable: true
          type: string
        numberOfLineItems:
          description: Number of Line Items
          nullable: true
          type: string
      type: object
    ExtendedReferenceInformation:
      description: >-
        Extended Reference Information (N9) - Extended reference information
        (REUSABLE)
      properties:
        freeFormDescription:
          description: Free-form Description
          nullable: true
          type: string
        referenceIdentification:
          description: Reference Identification
          nullable: true
          type: string
        referenceIdentificationQualifier:
          description: Reference Identification Qualifier
          nullable: true
          type: string
      type: object
    AdditionalNameInformation:
      description: Additional Name Information (N2) - Additional name information
      properties:
        name:
          description: Name
          nullable: true
          type: string
      type: object
    GeographicLocation:
      description: >-
        Geographic Location (N4) - City, state, postal code, and country
        information
      properties:
        cityName:
          description: City Name
          nullable: true
          type: string
        countryCode:
          description: Country Code
          nullable: true
          type: string
        locationIdentifier:
          description: Location Identifier
          nullable: true
          type: string
        locationQualifier:
          description: Location Qualifier
          nullable: true
          type: string
        postalCode:
          description: Postal Code
          nullable: true
          type: string
        stateOrProvinceCode:
          description: State or Province Code
          nullable: true
          type: string
      type: object
    PartyIdentification:
      description: Party Identification (N1) - Name and identification information
      properties:
        entityIdentifierCode:
          description: Entity Identifier Code
          nullable: true
          type: string
        identificationCode:
          description: Identification Code
          nullable: true
          type: string
        identificationCodeQualifier:
          description: Identification Code Qualifier
          nullable: true
          type: string
        name:
          description: Name
          nullable: true
          type: string
      type: object
    PartyLocation:
      description: Party Location (N3) - Address information
      properties:
        addressInformation:
          description: Address Information
          nullable: true
          type: string
      type: object
    PID_Loop:
      description: "PID Loop - Product/Item Description Loop\r\nContains product/item descriptions and related information"
      properties:
        productItemDescription:
          description: "PID - Product/Item Description\r\nTo describe a product or process in coded or free-form format"
          items:
            $ref: '#/components/schemas/ProductItemDescription'
          nullable: true
          type: array
      type: object
    CTP_Loop:
      description: "CTP Loop - Pricing Information Loop\r\nContains pricing information and related segments"
      properties:
        pricingInformation:
          description: "CTP - Pricing Information\r\nTo specify pricing information"
          items:
            $ref: '#/components/schemas/PricingInformation'
          nullable: true
          type: array
      type: object
    ServicePromotionAllowanceOrChargeInformation:
      description: >-
        Service, Promotion, Allowance, or Charge Information (SAC) - Service,
        allowance, or charge information (REUSABLE)
      properties:
        agencyQualifierCode:
          description: Agency Qualifier Code
          nullable: true
          type: string
        agencyServicePromotionAllowanceOrChargeCode:
          description: Agency Service, Promotion, Allowance, or Charge Code
          nullable: true
          type: string
        allowanceChargePercentQualifier:
          description: Allowance/Charge Percent Qualifier
          nullable: true
          type: string
        allowanceOrChargeIndicatorCode:
          description: Allowance or Charge Indicator Code
          nullable: true
          type: string
        allowanceOrChargeMethodOfHandlingCode:
          description: Allowance or Charge Method of Handling Code
          nullable: true
          type: string
        amount:
          description: Amount
          nullable: true
          type: string
        description:
          description: Description
          nullable: true
          type: string
        optionNumber:
          description: Option Number
          nullable: true
          type: string
        percentDecimalFormat:
          description: Percent (Decimal Format)
          nullable: true
          type: string
        referenceIdentification:
          description: Reference Identification
          nullable: true
          type: string
        servicePromotionAllowanceOrChargeCode:
          description: Service, Promotion, Allowance, or Charge Code
          nullable: true
          type: string
        unitOrBasisForMeasurementCode:
          description: Unit or Basis for Measurement Code
          nullable: true
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: JWT Authorization header using the Bearer scheme.
      scheme: bearer
      type: http

````