# GetInvoices

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /services/api/rest/getInvoices:
    post:
      summary: GetInvoices
      deprecated: false
      description: 'This function will return invoices. '
      tags:
        - Version 2/Recommended Workflow/Invoices
      parameters:
        - name: Accept
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetInvoicesRequest'
            example:
              AuthenticationData:
                Username: username
                Password: password
                ClientRefNum: null
              IgnoreExported: true
              ProNumber: Pro
              BOLID: BOL
              LoadId: 1234567
              DateFilterType: Created
              StartDate: '2024-03-06'
              EndDate: '2024-03-13'
              InvoiceStatusFilter: Approved
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetInvoicesResponse'
              example:
                Invoices:
                  - ApID: 3033722
                    InvoiceType: AP
                    ClientName: Company
                    ClientReferenceNumber: ''
                    InvoiceStatusCode: EXP
                    NetAmountDue: 273.75
                    TotalCharges: 228.75
                    Variance: 0
                    CurrencyCode: USD
                    CarrierName: Trucing Company 3
                    CarrierSCAC: TRUK
                    VendorName: null
                    VendorID: null
                    HasException: false
                    ShipmentCreatedFromInvoice: false
                    CreatedDateTime: '2018-05-01T14:34:46.81'
                    BillingDateTime: '2018-05-01T00:00:00'
                    ExportedDateTime: '2018-08-10T11:44:53.59'
                    ShipmentDetails:
                      LoadID: 987654321
                      GuidLoadID: 46f7-9840-1fc3ebc244a9
                      ProNumber: 123PRO
                      BOLID: BOL18099
                      CustomerPO: test
                      PayType: Prepaid
                      TotalWeight: 800
                      TotalPieces: 1
                      WeightUnitOfMeasure: LBS
                      PickupDateTime: '2018-04-10T00:00:00'
                      DeliveryDateTime: '2018-05-01T00:00:00'
                    QuoteDetails:
                      CarrierName: R Trucking
                      CarrierSCAC: TRUK
                      QuoteNumber: '10386905'
                      DateTime: '2018-04-09T06:15:56.553'
                      TotalCharge: 228.75
                      FreightCharge: 184.33
                      DiscountPercent: null
                      DiscountAmount: null
                      FuelSurcharge: 44.42
                      Minimum: null
                      GrossCharge: 1417.9
                      TotalAccessorialCharges: 0
                      TotalOtherCharges: 0
                      Interline: false
                    BatchDetails:
                      BatchID: '05012018'
                      User: Mike Jones
                      DateTime: '2018-05-01T15:16:50.787'
                    LineItem:
                      - CarrierChargeCode: MISC
                        NormalizedChargeCode: MISC
                        Description: Total Freight Bill Cost
                        Quantity: 0
                        PackagingCode: ''
                        Weight: 0
                        Charge: 228.75
                        FreightClass: ''
                        Extension: Some Text
                        RatedAsQuantity: 54.005
                        RatedAsQualifier: XX
                      - CarrierChargeCode: MISC
                        NormalizedChargeCode: MISC
                        Description: test - do not pickup
                        Quantity: 1
                        PackagingCode: Pallets
                        Weight: 800
                        Charge: 0
                        FreightClass: '92.5'
                        Extension: Some Text
                        RatedAsQuantity: null
                        RatedAsQualifier: null
                    Payment: null
                    Address:
                      - Type: SH
                        Name: Test Origin
                        IDCode: null
                        Address1: 123 Test St
                        Address2: ''
                        City: Chicago
                        StateCode: IL
                        PostalCode: '60606'
                        CountryCode: US
                        GLCode: null
                      - Type: CN
                        Name: Test Destination
                        IDCode: null
                        Address1: 456 Test St
                        Address2: ''
                        City: Austinburg
                        StateCode: OH
                        PostalCode: '44010'
                        CountryCode: US
                        GLCode: null
                      - Type: BT
                        Name: Company
                        IDCode: null
                        Address1: 123 Main St.
                        Address2: ''
                        City: Cleveland
                        StateCode: OH
                        PostalCode: '44115'
                        CountryCode: US
                        GLCode: null
                    BolAvailable: null
                    PodAvailable: null
                Success: false
                Error: null
          headers: {}
          x-apidog-name: 'GetInvoices - 200 OK '
      security: []
      x-apidog-folder: Version 2/Recommended Workflow/Invoices
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/668040/apis/api-10126304-run
components:
  schemas:
    GetInvoicesRequest:
      type: object
      properties:
        AuthenticationData:
          $ref: '#/components/schemas/Authentication%20Data'
          description: Banyan Credentials
        IgnoreExported:
          type: boolean
          description: If set to true, will include exported invoices
        ProNumber:
          type: string
          description: Pro number used to filter returned invoices
        BOLID:
          type: string
          description: BOL number used to filter returned invoices
        LoadId:
          type: integer
          description: Load Id used to filter returned invoices
        DateFilterType:
          description: Type used to filter with the Start and End Date
          $ref: '#/components/schemas/Date%20Filter%20Types%20Enum'
        StartDate:
          type: string
          description: Start date for filtering
          format: date
        EndDate:
          type: string
          description: End date for filtering
          format: date
        InvoiceStatusFilter:
          description: Status used to filter returned invoices
          $ref: '#/components/schemas/Invoice%20Status%20Enum'
      required:
        - AuthenticationData
      x-apidog-orders:
        - AuthenticationData
        - IgnoreExported
        - ProNumber
        - BOLID
        - LoadId
        - DateFilterType
        - StartDate
        - EndDate
        - InvoiceStatusFilter
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Invoice Status Enum:
      type: string
      enum:
        - Approved
        - Cancelled
        - Duplicated
        - Posted
        - Printed
        - PaymentSent
        - Published
        - Queued
        - Open
        - Partial
        - Disputed
        - Paid
        - Closed
        - WriteOff
        - Exported
        - ApprovedDisputed
        - OpenDisputed
        - ExportedDisputed
        - OpenRevEngDisputed
        - Review
      x-apidog-enum:
        - value: Approved
          name: ''
          description: '1'
        - value: Cancelled
          name: ''
          description: '2'
        - value: Duplicated
          name: ''
          description: '3'
        - value: Posted
          name: ''
          description: '4'
        - value: Printed
          name: ''
          description: '5'
        - value: PaymentSent
          name: ''
          description: '6'
        - value: Published
          name: ''
          description: '7'
        - value: Queued
          name: ''
          description: '8'
        - value: Open
          name: ''
          description: '9'
        - value: Partial
          name: ''
          description: '10'
        - value: Disputed
          name: ''
          description: '11'
        - value: Paid
          name: ''
          description: '12'
        - value: Closed
          name: ''
          description: '13'
        - value: WriteOff
          name: ''
          description: '14'
        - value: Exported
          name: ''
          description: '15'
        - value: ApprovedDisputed
          name: ''
          description: '16'
        - value: OpenDisputed
          name: ''
          description: '17'
        - value: ExportedDisputed
          name: ''
          description: '18'
        - value: OpenRevEngDisputed
          name: ''
          description: '19'
        - value: Review
          name: ''
          description: '20'
      x-apidog-folder: ''
    Date Filter Types Enum:
      type: string
      enum:
        - Created
        - Pickup
        - Delivery
        - Billing
      x-apidog-enum:
        - value: Created
          name: ''
          description: '0'
        - value: Pickup
          name: ''
          description: '1'
        - value: Delivery
          name: ''
          description: '2'
        - value: Billing
          name: ''
          description: '3'
      x-apidog-folder: ''
    Authentication Data:
      type: object
      properties:
        Username:
          type: string
          description: Banyan Username
          x-apidog-mock: username
        Password:
          type: string
          description: Banyan Password
          x-apidog-mock: password
        ClientRefNum:
          type: string
          description: Client Reference Number - Used during multiple client integrations
          nullable: true
      required:
        - Username
        - Password
      x-apidog-orders:
        - Username
        - Password
        - ClientRefNum
      description: Banyan Credentials
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    GetInvoicesResponse:
      type: object
      properties:
        Invoices:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceDetails'
          description: A list of Invoices
        Success:
          type: boolean
          description: Success of the request
        Error:
          description: Errors related to the request
          $ref: '#/components/schemas/ErrorObject'
      required:
        - Invoices
        - Success
        - Error
      x-apidog-orders:
        - Invoices
        - Success
        - Error
      readOnly: true
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ErrorObject:
      type: object
      properties:
        Message:
          type: string
      required:
        - Message
      x-apidog-orders:
        - Message
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InvoiceDetails:
      type: object
      properties:
        ApID:
          type: integer
          description: Invoice's primary identifier (Banyan supplied)
        EDIBillToAccountCode:
          type: string
          default: 'null'
          nullable: true
        InvoiceType:
          type: string
          description: Type of Invoice (AP or AR)
        ClientName:
          type: string
          description: The client that is linked to this AP
        ClientReferenceNumber:
          type: string
          description: The referenced number used to refer to this client
        InvoiceStatusCode:
          type: string
          description: Status of the invoice
        NetAmountDue:
          type: number
          description: Net amount due on invoice
          format: float
        TotalCharges:
          type: number
          description: Total charges on invoice
          format: float
        Variance:
          type: number
          description: Difference between actual and expected charges
          format: float
        CurrencyCode:
          type: string
          description: Type of currency used for invoice
        CarrierName:
          type: string
          description: Name of carrier attached to invoice
        CarrierSCAC:
          type: string
          description: SCAC of carrier attached to invoice
        VendorName:
          type: string
          description: Name of vendor attached to invoice
          nullable: true
        VendorID:
          type: string
          description: Reference number used to refer to the vendor attached to the invoice
          nullable: true
        HasException:
          type: boolean
          description: >-
            Will return true if the invoice details do not match the load
            details
        ShipmentCreatedFromInvoice:
          type: boolean
          description: Will return true if a load was created from this invoice
        EDIType:
          type: string
        CreatedDateTime:
          type: string
          format: date-time
          description: Invoice created date
        BillingDateTime:
          type: string
          description: Invoice billing date
          format: date-time
        ExportedDateTime:
          type: string
          description: Invoice exported date
          format: date-time
        ShipmentDetails:
          description: Load details
          $ref: '#/components/schemas/InvoiceLoadDetails'
        QuoteDetails:
          description: Quote details
          $ref: '#/components/schemas/InvoiceQuoteDetails'
        BatchDetails:
          $ref: '#/components/schemas/InvoiceBatchDetails'
          description: Batch details
        LineItem:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceLineDetails'
          description: List of product lines for the shipment
        Payment:
          type: array
          items:
            $ref: '#/components/schemas/InvoicePaymentDetails'
          description: List of payments for this shipment
        Address:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceAddressDetails'
          description: List of addresses associated to the invoice
        BolAvailable:
          type: boolean
          description: True if the BOL is available
        PodAvailable:
          type: boolean
          description: True if the POD is available
        LoadDetails:
          $ref: '#/components/schemas/FullLoadDetails'
          description: Included only in response for GetInvoicesWithLoadDetails
      x-apidog-orders:
        - ApID
        - EDIBillToAccountCode
        - InvoiceType
        - ClientName
        - ClientReferenceNumber
        - InvoiceStatusCode
        - NetAmountDue
        - TotalCharges
        - Variance
        - CurrencyCode
        - CarrierName
        - CarrierSCAC
        - VendorName
        - VendorID
        - HasException
        - ShipmentCreatedFromInvoice
        - EDIType
        - CreatedDateTime
        - BillingDateTime
        - ExportedDateTime
        - ShipmentDetails
        - QuoteDetails
        - BatchDetails
        - LineItem
        - Payment
        - Address
        - BolAvailable
        - PodAvailable
        - LoadDetails
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    FullLoadDetails:
      type: object
      x-apidog-refs: {}
      properties:
        "ClientName\t":
          type: string
          description: Name of client that the load is under
        Status:
          type: string
          description: Description of current status
        LoadInfo:
          $ref: '#/components/schemas/Loadinfo'
          description: Shipment Identifiers
        BillTo:
          $ref: '#/components/schemas/BillTo'
          description: Billing Information
        RateServices:
          type: array
          items:
            $ref: '#/components/schemas/RateServices'
          description: Shipment Service(s)
        Shipper:
          $ref: '#/components/schemas/Shipper'
          description: "Shipper Information\t"
        Consignee:
          description: Consignee Information
          $ref: '#/components/schemas/Consignee'
        PackageInfo:
          $ref: '#/components/schemas/PackageInfo'
          description: Package Information
        Products:
          type: array
          items:
            $ref: '#/components/schemas/Product'
          description: Shipment Product(s)
        ShipperAccessorials:
          $ref: '#/components/schemas/ShipperAccessorials'
          description: Shipper Accessorials
        ConsigneeAccessorials:
          $ref: '#/components/schemas/ConsigneeAccessorials'
          description: Consignee Accessorials
        LoadAccessorials:
          $ref: '#/components/schemas/LoadAccessorials'
          description: Load Accessorials
        Return Location:
          $ref: '#/components/schemas/ReturnLocation'
        UserDefined:
          type: array
          items:
            $ref: '#/components/schemas/UserDefined'
          description: Shipment user defined fields
        ReferenceField:
          type: array
          items:
            $ref: '#/components/schemas/ReferenceField'
          description: Shipment reference fields
        InsuranceInfo:
          $ref: '#/components/schemas/InsuranceInfo'
          description: Shipment Insurance
        Quotes:
          type: array
          items:
            $ref: '#/components/schemas/Quote'
            description: List of Carrier Quotes
        Notes:
          type: array
          items:
            $ref: '#/components/schemas/Note'
          description: List of Notes
      x-apidog-orders:
        - "ClientName\t"
        - Status
        - LoadInfo
        - BillTo
        - RateServices
        - Shipper
        - Consignee
        - PackageInfo
        - Products
        - ShipperAccessorials
        - ConsigneeAccessorials
        - LoadAccessorials
        - Return Location
        - UserDefined
        - ReferenceField
        - InsuranceInfo
        - Quotes
        - Notes
      required:
        - LoadInfo
        - BillTo
        - RateServices
        - Shipper
        - Consignee
        - PackageInfo
        - Products
        - ShipperAccessorials
        - ConsigneeAccessorials
        - LoadAccessorials
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Note:
      type: object
      properties:
        Text:
          type: string
          description: Note text
        User:
          type: string
          description: Note creator
        DateStamp:
          type: string
          description: Note date
        NoteType:
          description: Note Type
          $ref: '#/components/schemas/Note%20Type%20Enum'
      x-apidog-orders:
        - Text
        - User
        - DateStamp
        - NoteType
      required:
        - Text
        - User
        - DateStamp
        - NoteType
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Note Type Enum:
      type: string
      enum:
        - AccountingAdjustment
        - Email
        - Archiving
        - QuoteUpdate
        - Carrier
        - AwardedQuote
        - TechnicalNote
        - WebTracking
        - Edi
        - SystemEvent
        - Instructions
        - Public
        - BookReason
        - WebDispatch
        - QuoteRequest
        - Private
        - Contact
        - Accounting
        - TerminalUrl
        - Customer
        - DockUpdate
        - Address
        - DeleteQuote
        - Package
        - RateException
        - BillingReason
        - AdditionalService
        - ValidationQuote
        - QuoteRequestEmail
      x-apidog-enum:
        - value: AccountingAdjustment
          name: ''
          description: '1'
        - value: Email
          name: ''
          description: '2'
        - value: Archiving
          name: ''
          description: '3'
        - value: QuoteUpdate
          name: ''
          description: '4'
        - value: Carrier
          name: ''
          description: '5'
        - value: AwardedQuote
          name: ''
          description: '6'
        - value: TechnicalNote
          name: ''
          description: '7'
        - value: WebTracking
          name: ''
          description: '8'
        - value: Edi
          name: ''
          description: '9'
        - value: SystemEvent
          name: ''
          description: '10'
        - value: Instructions
          name: ''
          description: '11'
        - value: Public
          name: ''
          description: '12'
        - value: BookReason
          name: ''
          description: '13'
        - value: WebDispatch
          name: ''
          description: '14'
        - value: QuoteRequest
          name: ''
          description: '15'
        - value: Private
          name: ''
          description: '16'
        - value: Contact
          name: ''
          description: '17'
        - value: Accounting
          name: ''
          description: '18'
        - value: TerminalUrl
          name: ''
          description: '19'
        - value: Customer
          name: ''
          description: '20'
        - value: DockUpdate
          name: ''
          description: '21'
        - value: Address
          name: ''
          description: '22'
        - value: DeleteQuote
          name: ''
          description: '23'
        - value: Package
          name: ''
          description: '24'
        - value: RateException
          name: ''
          description: '27'
        - value: BillingReason
          name: ''
          description: '28'
        - value: AdditionalService
          name: ''
          description: '29'
        - value: ValidationQuote
          name: ''
          description: '30'
        - value: QuoteRequestEmail
          name: ''
          description: '31'
      x-apidog-folder: ''
    Quote:
      type: object
      properties:
        LoadID:
          type: integer
          description: >-
            Banyan's primary shipment identifier (In this object, the main
            shipment LoadID is reflected here)
        QuoteID:
          type: integer
          description: Banyan's primary quote identifier
        CarrierName:
          type: string
          description: Carrier name
        SCAC:
          type: string
          description: Carrier standard carrier alpha code
        ThirdPartyName:
          type: string
        ThirdPartySCAC:
          type: string
        ServiceID:
          type: string
          description: Quote service identifier
        RawPrice: &ref_0
          $ref: '#/components/schemas/PriceBreakout'
          description: Quote raw price (returned from the carrier)
        CarrierPrice: *ref_0
        CustomerPrice: *ref_0
        TransitTime:
          type: integer
          description: Quote transit time
        QuoteNumber:
          type: string
          description: Carrier quote identifier
        AccountNumber:
          type: string
          description: Account Number/ID used for Quote (if any)
        CarrierPerson:
          type: string
          description: Carrier person
        CarrierNote:
          type: string
          description: Note returned by the carrier regarding the quote
        Datestamp:
          type: string
          description: Quote date
        Interline:
          type: boolean
          description: Set to true only when confirmed to be interline
        Accepted:
          type: boolean
          description: Quote has been accepted by client
        CurrencyType:
          description: Quote currency type
          $ref: '#/components/schemas/Currency%20Types%20Enum'
        Service: &ref_5
          $ref: '#/components/schemas/Service%20Code%20Enum'
          description: Quote service
        InsuranceDetails:
          description: Insurance Details related to the quote
          $ref: '#/components/schemas/InsuranceDetails'
      required:
        - LoadID
        - QuoteID
        - CarrierName
        - SCAC
        - ThirdPartyName
        - ThirdPartySCAC
        - ServiceID
        - RawPrice
        - CarrierPrice
        - CustomerPrice
        - TransitTime
        - Datestamp
        - Interline
        - Accepted
        - CurrencyType
        - Service
      x-apidog-orders:
        - LoadID
        - QuoteID
        - CarrierName
        - SCAC
        - ThirdPartyName
        - ThirdPartySCAC
        - ServiceID
        - RawPrice
        - CarrierPrice
        - CustomerPrice
        - TransitTime
        - QuoteNumber
        - AccountNumber
        - CarrierPerson
        - CarrierNote
        - Datestamp
        - Interline
        - Accepted
        - CurrencyType
        - Service
        - InsuranceDetails
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InsuranceDetails:
      type: object
      properties:
        Price:
          type: number
          description: The price of the insurance from the requested insurance provider
          format: float
        Confirmation:
          type: string
          description: >-
            The confirmation reference value related to this specific insurance
            quote
        InsuranceNote:
          type: string
          description: Note related to the insurance quote
        ExpirationDate:
          type: string
          description: >-
            The expiration date, if supplied by the provider, on when the
            insurance quote is valid
          format: date-time
        DeductibleNote:
          type: string
          description: >-
            Note related to the insurance quote's deductible, returned from the
            insurance vendor
        TermsAndConditions:
          type: string
          description: >-
            Note related to the insurance quote's terms and conditions, returned
            from the insurance vendor
      x-apidog-orders:
        - Price
        - Confirmation
        - InsuranceNote
        - ExpirationDate
        - DeductibleNote
        - TermsAndConditions
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Service Code Enum:
      type: string
      enum:
        - Parcel
        - LTL
        - Volume
        - Air
        - Ocean
        - GFP
        - Local Carrier
        - FTL
        - Driveaway
        - Intermodal
        - Expedite
      x-apidog-enum:
        - value: Parcel
          name: ''
          description: '0'
        - value: LTL
          name: ''
          description: '1'
        - value: Volume
          name: ''
          description: '2'
        - value: Air
          name: ''
          description: '3'
        - value: Ocean
          name: ''
          description: '4'
        - value: GFP
          name: ''
          description: '5'
        - value: Local Carrier
          name: ''
          description: '6'
        - value: FTL
          name: ''
          description: '7'
        - value: Driveaway
          name: ''
          description: '8'
        - value: Intermodal
          name: ''
          description: '9'
        - value: Expedite
          name: ''
          description: '10'
      x-apidog-folder: ''
    Currency Types Enum:
      type: string
      enum:
        - US_Dollar
        - Canadian_Dollar
        - Mexican_Peso
      x-apidog-enum:
        - value: US_Dollar
          name: ''
          description: '0'
        - value: Canadian_Dollar
          name: ''
          description: '1'
        - value: Mexican_Peso
          name: ''
          description: '2'
      x-apidog-folder: ''
    PriceBreakout:
      type: object
      properties:
        NetPrice:
          type: number
          description: Net price
          format: float
        FreightCharge:
          type: number
          description: Freight charge amount
          format: float
        DiscountAmount:
          type: number
          description: Discount amount
          format: float
        FuelSurcharge:
          type: number
          description: Fuel surcharge amount
          format: float
        Minimum:
          type: number
          description: Minimum charge amount
          format: float
        GrossCharge:
          type: number
          description: Gross charge amount
          format: float
        Tariff:
          type: number
          description: Tariff amount
          format: float
        Interline:
          type: number
          description: Interline amount
          format: float
        AccessorialCharges:
          type: number
          description: Accessorial charge amount
          format: float
        OtherCharges:
          type: number
          description: Other charges amount
          format: float
        Charges:
          type: array
          items:
            $ref: '#/components/schemas/QuoteCharge'
          description: Charge breakout
        Markup:
          type: number
          description: Markup percent applied
          format: float
      required:
        - NetPrice
        - FreightCharge
        - DiscountAmount
        - FuelSurcharge
        - Minimum
        - GrossCharge
        - Tariff
        - Interline
        - AccessorialCharges
        - OtherCharges
        - Charges
        - Markup
      x-apidog-orders:
        - NetPrice
        - FreightCharge
        - DiscountAmount
        - FuelSurcharge
        - Minimum
        - GrossCharge
        - Tariff
        - Interline
        - AccessorialCharges
        - OtherCharges
        - Charges
        - Markup
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    QuoteCharge:
      type: object
      properties:
        Name:
          type: string
          description: Quote charge name
        Amount:
          type: number
          description: Quote charge amount
          format: float
        Code:
          type: string
          description: Quote charge code
      required:
        - Name
        - Amount
      x-apidog-orders:
        - Name
        - Amount
        - Code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InsuranceInfo:
      type: object
      properties:
        InsuranceWanted:
          type: boolean
          description: Is insurance wanted on this shipment
        VendorCode:
          type: string
          description: The code of the insurance provider
        CommodityTypeCode:
          type: string
          description: >-
            The code for the requested commodity type, insurance provider
            specific
        CommodityConditionCode:
          type: string
          description: >-
            The code for the requested commodity condition, this value is
            insurance provider specific
        InsuredValue:
          type: number
          description: This represents the value of the entire shipment
          format: float
      x-apidog-orders:
        - InsuranceWanted
        - VendorCode
        - CommodityTypeCode
        - CommodityConditionCode
        - InsuredValue
      required:
        - InsuranceWanted
        - VendorCode
        - CommodityTypeCode
        - CommodityConditionCode
        - InsuredValue
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ReferenceField:
      type: object
      properties:
        Type:
          type: string
          description: Reference field type
        Value:
          type: string
          description: Reference field value
        PrintOnBOL:
          type: boolean
          description: Print reference field on BOL
        PrintOnShippingLabel:
          type: boolean
          description: Print reference field on Shipping Label
      x-apidog-orders:
        - Type
        - Value
        - PrintOnBOL
        - PrintOnShippingLabel
      required:
        - Type
        - Value
        - PrintOnBOL
        - PrintOnShippingLabel
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    UserDefined:
      type: object
      properties:
        Name:
          type: string
          description: User defined name
        Value:
          type: string
          description: User defined value
      x-apidog-orders:
        - Name
        - Value
      required:
        - Name
        - Value
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ReturnLocation:
      type: object
      properties:
        CompanyName:
          type: string
          description: Return Location company name
        ContactInfo: &ref_2
          $ref: '#/components/schemas/ContactInfo'
          description: Return Location contact information
        AddressInfo: &ref_3
          description: Return Location address information
          $ref: '#/components/schemas/AddressInfo'
      x-apidog-orders:
        - CompanyName
        - ContactInfo
        - AddressInfo
      required:
        - CompanyName
        - ContactInfo
        - AddressInfo
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    AddressInfo:
      type: object
      properties:
        Address1:
          type: string
          description: Address 1
          x-apidog-mock: '{{$location.streetAddress}}'
        Address2:
          type: string
          description: Address 2
          nullable: true
        City:
          type: string
          description: City
          x-apidog-mock: '{{$location.city}}'
          nullable: true
        CountryName:
          type: string
          description: "Country Name\t"
          x-apidog-mock: '{{$location.country}}'
          nullable: true
        CountryCode:
          type: string
          description: Country Code
          x-apidog-mock: '{{$location.countryCode}}'
        State:
          type: string
          description: State
          x-apidog-mock: '{{$location.state(abbreviated=true)}}'
        Zipcode:
          type: string
          description: Zipcode
          x-apidog-mock: '{{$location.zipCode}}'
        LocationName:
          type: string
          description: "Location Name\t"
          x-apidog-mock: '{{$company.name}}'
      required:
        - Address1
        - City
        - CountryCode
        - State
        - Zipcode
        - LocationName
      x-apidog-orders:
        - Address1
        - Address2
        - City
        - CountryName
        - CountryCode
        - State
        - Zipcode
        - LocationName
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ContactInfo:
      type: object
      properties:
        FirstName:
          type: string
          description: First Name
          x-apidog-mock: '{{$person.firstName}}'
          nullable: true
        LastName:
          type: string
          description: "Last Name\t"
          x-apidog-mock: '{{$person.lastName}}'
          nullable: true
        ContactName:
          type: string
          description: "Contact Name\t"
          x-apidog-mock: '{{$person.fullName}}'
          nullable: true
        Phone:
          type: string
          description: "Phone\t"
          x-apidog-mock: '{{$phone.number}}'
          nullable: true
        PhoneExt:
          type: string
          description: "Phone Extension\t"
          x-apidog-mock: ext. 123
          nullable: true
        Fax:
          type: string
          description: "Fax Number\t"
          x-apidog-mock: '{{$phone.number}}'
          nullable: true
        Email:
          type: string
          description: Email
          x-apidog-mock: '{{$internet.exampleEmail}}'
          nullable: true
      x-apidog-orders:
        - FirstName
        - LastName
        - ContactName
        - Phone
        - PhoneExt
        - Fax
        - Email
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    LoadAccessorials:
      type: object
      properties:
        Guaranteed:
          type: boolean
          description: Shipment is guaranteed
        TimeDefinite:
          type: boolean
          description: Shipment is time definite
        Expedited:
          type: boolean
          description: Shipment needs expedited
        HolidayPickup:
          type: boolean
          description: Shipment needs holiday pickup
        HolidayDelivery:
          type: boolean
          description: Shipment needs holiday delivery
        WeightDetermination:
          type: boolean
          description: Shipment weight determination
        BlindShipment:
          type: boolean
          description: Shipment is a blind shipment
        BlanketService:
          type: boolean
          description: Shipment needs blanket service
        SingleShipment:
          type: boolean
          description: Shipment is a single shipment
        CustomsInBond:
          type: boolean
          description: "Shipment needs customer in bond\t"
        OverDimension:
          type: boolean
          description: Shipment is over dimension
        Stackable:
          type: boolean
          description: Shipment is stackable
        Turnkey:
          type: boolean
          description: Shipment is turnkey
        FoodGradeProducts:
          type: boolean
          description: Shipment has food grade products
        TSA:
          type: boolean
          description: Shipment requires TSA regulations
        Bulkhead:
          type: boolean
          description: Shipment requires a Bulkhead
        SignatureRequired:
          type: boolean
          description: Shipment requires a signature
        BlanketServiceChilled:
          type: boolean
          description: Shipment requires Blanket Service - Chilled
        BlanketServiceFrozen:
          type: boolean
          description: Shipment requires Blanket Service - Frozen
        SaturdayDelivery:
          type: boolean
          description: "Shipment needs Saturday delivery\t"
        SecondMan:
          type: boolean
          description: Shipment requires an additional person to pick up and deliver
        ReturnReceipt:
          type: boolean
          description: >-
            Shipment service to ensure the shipment was delivered to intended
            party or parties
        ShipmentHold:
          type: boolean
          description: >-
            Service where the carrier retains the shipment during the delivery
            process
        ProactiveResponse:
          type: boolean
          description: >-
            Service that monitors a shipment for delays and will attempt to
            reroute is there are delays avoiding failure in service. Typically
            used for temperature sensitive or life-saving shipments
        ShipperRelease:
          type: boolean
          description: Shipment is to be released without signature at delivery
        WhiteGlove:
          type: boolean
          description: >-
            Shipment requires two drivers, room designation and stair carry, and
            hauling away debris
        RestrictedDelivery:
          type: boolean
          description: Shipment needs delivered to the addressee or specific agent
        TankerEndorsedDriverRequired:
          type: boolean
          description: >-
            Shipment must be handled by a driver qualified in transporting large
            quantities of liquid via tanker truck.
      required:
        - Guaranteed
        - TimeDefinite
        - Expedited
        - HolidayPickup
        - HolidayDelivery
        - WeightDetermination
        - BlindShipment
        - BlanketService
        - SingleShipment
        - CustomsInBond
        - OverDimension
        - Stackable
        - Turnkey
        - FoodGradeProducts
        - TSA
        - Bulkhead
        - SignatureRequired
        - BlanketServiceChilled
        - BlanketServiceFrozen
        - SaturdayDelivery
        - SecondMan
        - ReturnReceipt
        - ShipmentHold
        - ProactiveResponse
        - ShipperRelease
        - WhiteGlove
        - RestrictedDelivery
        - TankerEndorsedDriverRequired
      x-apidog-orders:
        - Guaranteed
        - TimeDefinite
        - Expedited
        - HolidayPickup
        - HolidayDelivery
        - WeightDetermination
        - BlindShipment
        - BlanketService
        - SingleShipment
        - CustomsInBond
        - OverDimension
        - Stackable
        - Turnkey
        - FoodGradeProducts
        - TSA
        - Bulkhead
        - SignatureRequired
        - BlanketServiceChilled
        - BlanketServiceFrozen
        - SaturdayDelivery
        - SecondMan
        - ReturnReceipt
        - ShipmentHold
        - ProactiveResponse
        - ShipperRelease
        - WhiteGlove
        - RestrictedDelivery
        - TankerEndorsedDriverRequired
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ConsigneeAccessorials:
      type: object
      properties:
        AppointmentRequired:
          type: boolean
          description: Consignee appointment required
        InsideDelivery:
          type: boolean
          description: Consignee inside delivery
        SortSegregate:
          type: boolean
          description: Consignee sort and segregate
        PalletJack:
          type: boolean
          description: Consignee pallet jack
        ResidentialDelivery:
          type: boolean
          description: Consignee residential delivery
        LiftgateDelivery:
          type: boolean
          description: Consignee Liftgate delivery
        MarkingTagging:
          type: boolean
          description: Consignee marking and tagging
        TradeShowDelivery:
          type: boolean
          description: Consignee trade show delivery
        NYCMetro:
          type: boolean
          description: Consignee New York city metro
        DeliveryNotification:
          type: boolean
          description: Consignee delivery notification
        TwoHourSpecialDelivery:
          type: boolean
          description: Consignee  Two Hour Delivery
        NonBusinessHourDelivery:
          type: boolean
          description: Consignee Non-Business Hours Delivery
        LimitedAccessType:
          description: Consignee limited access type. Either value can be used.
          anyOf:
            - &ref_1
              $ref: '#/components/schemas/Limited%20Access%20Types%20Enum'
            - type: 'null'
      required:
        - AppointmentRequired
        - InsideDelivery
        - SortSegregate
        - PalletJack
        - ResidentialDelivery
        - LiftgateDelivery
        - MarkingTagging
        - TradeShowDelivery
        - NYCMetro
        - DeliveryNotification
        - TwoHourSpecialDelivery
        - NonBusinessHourDelivery
      x-apidog-orders:
        - AppointmentRequired
        - InsideDelivery
        - SortSegregate
        - PalletJack
        - ResidentialDelivery
        - LiftgateDelivery
        - MarkingTagging
        - TradeShowDelivery
        - NYCMetro
        - DeliveryNotification
        - TwoHourSpecialDelivery
        - NonBusinessHourDelivery
        - LimitedAccessType
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Limited Access Types Enum:
      type: string
      enum:
        - Military Base
        - Church
        - Remote Government
        - Hotel
        - Mine Site
        - Mini-Storage
        - School
        - Construction Site
        - Airport
        - Container Station
        - Piers and Wharves
        - Farm Country Club Estate
        - Fair/Amusement Park
        - Convention Center
        - Prison
        - Hospital/Medical Facility
        - Shopping Center/Mall
        - Unspecified
      x-apidog-enum:
        - value: Military Base
          name: ''
          description: BASE
        - value: Church
          name: ''
          description: CHRC
        - value: Remote Government
          name: ''
          description: GOVT
        - value: Hotel
          name: ''
          description: HOTL
        - value: Mine Site
          name: ''
          description: MINE
        - value: Mini-Storage
          name: ''
          description: MINI
        - value: School
          name: ''
          description: SCHL
        - value: Construction Site
          name: ''
          description: SITE
        - value: Airport
          name: ''
          description: AIRP
        - value: Container Station
          name: ''
          description: CNST
        - value: Piers and Wharves
          name: ''
          description: PIER
        - value: Farm Country Club Estate
          name: ''
          description: FARMC
        - value: Fair/Amusement Park
          name: ''
          description: FAIR
        - value: Convention Center
          name: ''
          description: CVNT
        - value: Prison
          name: ''
          description: PRIS
        - value: Hospital/Medical Facility
          name: ''
          description: HMED
        - value: Shopping Center/Mall
          name: ''
          description: SHCM
        - value: Unspecified
          name: ''
          description: UNSPE
      x-apidog-folder: ''
    ShipperAccessorials:
      type: object
      properties:
        AppointmentRequired:
          type: boolean
          description: Shipper appointment required
        InsidePickup:
          type: boolean
          description: Shipper inside pickup
        SortSegregate:
          type: boolean
          description: Shipper sort and segregate
        PalletJack:
          type: boolean
          description: Shipper pallet jack
        ResidentialPickup:
          type: boolean
          description: Shipper residential pickup
        LiftgatePickup:
          type: boolean
          description: Shipper Liftgate pickup
        MarkingTagging:
          type: boolean
          description: Shipper marking and tagging
        TradeShowPickup:
          type: boolean
          description: Shipper trade show pickup
        NYCMetro:
          type: boolean
          description: Shipper New York city metro
        NonBusinessHourPickup:
          type: boolean
          description: Shipper Non-Business hours pickup
        LimitedAccessType:
          description: Shipper limited access type. Either value can be used.
          anyOf:
            - *ref_1
            - type: 'null'
      required:
        - AppointmentRequired
        - InsidePickup
        - SortSegregate
        - PalletJack
        - ResidentialPickup
        - LiftgatePickup
        - MarkingTagging
        - TradeShowPickup
        - NYCMetro
        - NonBusinessHourPickup
      x-apidog-orders:
        - AppointmentRequired
        - InsidePickup
        - SortSegregate
        - PalletJack
        - ResidentialPickup
        - LiftgatePickup
        - MarkingTagging
        - TradeShowPickup
        - NYCMetro
        - NonBusinessHourPickup
        - LimitedAccessType
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Product:
      type: object
      properties:
        Quantity:
          type: integer
          description: Product quantity
        PackageType: &ref_6
          description: Product package type. Either value can be used.
          $ref: '#/components/schemas/Package%20Type%20Enum'
        Weight:
          type: number
          format: float
          description: Product weight
        Class:
          description: Product freight class. Either value can be used.
          $ref: '#/components/schemas/Freight%20Class%20Enum'
        NMFC:
          type: string
          description: Product national motor freight classification
          nullable: true
        SKU:
          type: string
          description: Product stock keeping unit
          nullable: true
        IsHazmat:
          type: boolean
          description: Product hazardous material status
        UnNumber:
          type: string
          description: HazMat UN#
          nullable: true
        HazMatShippingName:
          type: string
          description: Proper HazMat Shipping Name
          nullable: true
        HazMatClass:
          type: string
          description: HazMat class for the Product
          nullable: true
        HazMatPkgGroup:
          type: string
          description: HazMat Package Group Id
          nullable: true
        HazmatPhoneNumber:
          type: string
          description: Hazmat phone number - Required when product is hazardous material
          nullable: true
        HazmatPhoneExt:
          type: string
          description: >-
            Hazmat phone number extension - Required when product is hazardous
            material
          nullable: true
        HazMatContact:
          type: string
          description: Name of Hazmat Contact
          nullable: true
        HazMatPoison:
          type: boolean
          description: "Poisonous Hazmat Shipment\t"
        Description:
          type: string
          description: "Product description\t"
        Length:
          type: number
          description: Product length
          format: float
        Width:
          type: number
          description: Product width
          format: float
        Height:
          type: number
          description: Product height
          format: float
        UOM:
          type: string
          description: Product unit of measure
          enum:
            - English
            - Metric
          x-apidog-enum:
            - value: English
              name: ''
              description: '0'
            - value: Metric
              name: ''
              description: '1'
        SortOrder:
          type: integer
          description: Product sort order
        ReferenceNumber:
          type: string
          description: Product reference number
          nullable: true
        ParcelOptions:
          description: Options only used for parcel products
          $ref: '#/components/schemas/ParcelOptions'
        InternationalOptions:
          description: Additional info for international product shipments
          $ref: '#/components/schemas/InternationalOptions'
      required:
        - Quantity
        - PackageType
        - Weight
        - Class
        - IsHazmat
        - UOM
        - SortOrder
      x-apidog-orders:
        - Quantity
        - PackageType
        - Weight
        - Class
        - NMFC
        - SKU
        - IsHazmat
        - UnNumber
        - HazMatShippingName
        - HazMatClass
        - HazMatPkgGroup
        - HazmatPhoneNumber
        - HazmatPhoneExt
        - HazMatContact
        - HazMatPoison
        - Description
        - Length
        - Width
        - Height
        - UOM
        - SortOrder
        - ReferenceNumber
        - ParcelOptions
        - InternationalOptions
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InternationalOptions:
      type: object
      properties:
        ScheduleBCode:
          type: string
          description: Schedule B Code
          nullable: true
        HarmonizedSystemCode:
          type: string
          description: Harmonized System Code
          nullable: true
        ECCN:
          type: string
          description: ECCN
          nullable: true
        UnitOriginCountryCode:
          type: string
          description: Country of origin for the product
          nullable: true
      x-apidog-orders:
        - ScheduleBCode
        - HarmonizedSystemCode
        - ECCN
        - UnitOriginCountryCode
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ParcelOptions:
      type: object
      properties:
        DeliveryConfirmation:
          type: string
          description: The delivery confirmation type for this product
          enum:
            - None
            - CertifiedMail
            - AdultSignatureRequired
            - DirectSignatureRequired
            - IndirectSignatureRequired
          x-apidog-enum:
            - value: None
              name: ''
              description: '0'
            - value: CertifiedMail
              name: ''
              description: '1'
            - value: AdultSignatureRequired
              name: ''
              description: '2'
            - value: DirectSignatureRequired
              name: ''
              description: '3'
            - value: IndirectSignatureRequired
              name: ''
              description: '4'
        COD:
          type: string
          description: The COD type for this product
          enum:
            - None
            - StandardCOD
            - SecuredFunds
          x-apidog-enum:
            - value: None
              name: ''
              description: '0'
            - value: StandardCOD
              name: ''
              description: '1'
            - value: SecuredFunds
              name: ''
              description: '2'
        CODAmount:
          type: number
          description: The COD amount defined for this product
          format: float
        AdditionalHandling:
          type: boolean
          description: Shipment will require additional handling
        LargePackage:
          type: boolean
          description: Shipment is oversize/overdimension
        DeclaredValue:
          type: number
          description: The declared monetary value defined for this product
        UnitValue:
          type: number
          description: Value of a single unit of this product
          format: float
          nullable: true
        UnitWeight:
          type: number
          description: Weight of a single unit of this product
          format: float
          nullable: true
        UnitType:
          type: string
          description: Type of a single unit of this product
          nullable: true
      required:
        - DeliveryConfirmation
        - COD
        - CODAmount
        - AdditionalHandling
        - LargePackage
        - DeclaredValue
      x-apidog-orders:
        - DeliveryConfirmation
        - COD
        - CODAmount
        - AdditionalHandling
        - LargePackage
        - DeclaredValue
        - UnitValue
        - UnitWeight
        - UnitType
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Freight Class Enum:
      type: string
      enum:
        - Unspecified
        - c50
        - c55
        - c60
        - c65
        - c70
        - c775
        - c85
        - c925
        - c100
        - c110
        - c125
        - c150
        - c175
        - c200
        - c250
        - c300
        - c400
        - c500
      x-apidog-enum:
        - value: Unspecified
          name: ''
          description: '0'
        - value: c50
          name: ''
          description: '1'
        - value: c55
          name: ''
          description: '2'
        - value: c60
          name: ''
          description: '3'
        - value: c65
          name: ''
          description: '4'
        - value: c70
          name: ''
          description: '5'
        - value: c775
          name: ''
          description: '6'
        - value: c85
          name: ''
          description: '7'
        - value: c925
          name: ''
          description: '8'
        - value: c100
          name: ''
          description: '9'
        - value: c110
          name: ''
          description: '10'
        - value: c125
          name: ''
          description: '11'
        - value: c150
          name: ''
          description: '12'
        - value: c175
          name: ''
          description: '13'
        - value: c200
          name: ''
          description: '14'
        - value: c250
          name: ''
          description: '15'
        - value: c300
          name: ''
          description: '16'
        - value: c400
          name: ''
          description: '17'
        - value: c500
          name: ''
          description: '18'
      x-apidog-folder: ''
    Package Type Enum:
      type: string
      enum:
        - Accessorials
        - Attachments
        - Bags
        - Bales
        - Baskets
        - Bulkheads
        - Bundles
        - Boxes
        - Barrels
        - Buckets
        - Carboys
        - Cases
        - Chests
        - Coils
        - Cartons
        - Crates
        - Container
        - Cylinders
        - Drums
        - Envelopes
        - Feet
        - Firkins
        - Gaylords
        - Kegs
        - Loose
        - Octabin
        - Packages
        - Pails
        - Pieces
        - Pallets
        - Racks
        - Reels
        - Rolls
        - Skids
        - SlipSheets (Slip Sheets)
        - SuperSack (Super Sack)
        - Totes
        - Truckload
        - Trailers
        - Trunks
        - Trays
        - Tubes
        - Units
        - Unpackaged
        - Vehicles
        - Bins
        - Tubs
        - Each
        - PlasticJerricans (Plastic Jerricans)
      x-apidog-enum:
        - value: Accessorials
          name: ''
          description: '0'
        - value: Attachments
          name: ''
          description: '1'
        - value: Bags
          name: ''
          description: '2'
        - value: Bales
          name: ''
          description: '3'
        - value: Baskets
          name: ''
          description: '4'
        - value: Bulkheads
          name: ''
          description: '5'
        - value: Bundles
          name: ''
          description: '6'
        - value: Boxes
          name: ''
          description: '7'
        - value: Barrels
          name: ''
          description: '8'
        - value: Buckets
          name: ''
          description: '9'
        - value: Carboys
          name: ''
          description: '10'
        - value: Cases
          name: ''
          description: '11'
        - value: Chests
          name: ''
          description: '12'
        - value: Coils
          name: ''
          description: '13'
        - value: Cartons
          name: ''
          description: '14'
        - value: Crates
          name: ''
          description: '15'
        - value: Container
          name: ''
          description: '16'
        - value: Cylinders
          name: ''
          description: '17'
        - value: Drums
          name: ''
          description: '18'
        - value: Envelopes
          name: ''
          description: '19'
        - value: Feet
          name: ''
          description: '20'
        - value: Firkins
          name: ''
          description: '21'
        - value: Gaylords
          name: ''
          description: '22'
        - value: Kegs
          name: ''
          description: '23'
        - value: Loose
          name: ''
          description: '24'
        - value: Octabin
          name: ''
          description: '25'
        - value: Packages
          name: ''
          description: '26'
        - value: Pails
          name: ''
          description: '27'
        - value: Pieces
          name: ''
          description: '28'
        - value: Pallets
          name: ''
          description: '29'
        - value: Racks
          name: ''
          description: '30'
        - value: Reels
          name: ''
          description: '31'
        - value: Rolls
          name: ''
          description: '32'
        - value: Skids
          name: ''
          description: '33'
        - value: SlipSheets (Slip Sheets)
          name: ''
          description: '34'
        - value: SuperSack (Super Sack)
          name: ''
          description: '35'
        - value: Totes
          name: ''
          description: '36'
        - value: Truckload
          name: ''
          description: '37'
        - value: Trailers
          name: ''
          description: '38'
        - value: Trunks
          name: ''
          description: '39'
        - value: Trays
          name: ''
          description: '40'
        - value: Tubes
          name: ''
          description: '41'
        - value: Units
          name: ''
          description: '42'
        - value: Unpackaged
          name: ''
          description: '43'
        - value: Vehicles
          name: ''
          description: '44'
        - value: Bins
          name: ''
          description: '45'
        - value: Tubs
          name: ''
          description: '46'
        - value: Each
          name: ''
          description: '47'
        - value: PlasticJerricans (Plastic Jerricans)
          name: ''
          description: '48'
      x-apidog-folder: ''
    PackageInfo:
      type: object
      properties:
        CODAmount:
          type: number
          description: Shipment collect on delivery amount
          nullable: true
        DeclaredLiability:
          type: number
          description: Shipment declared liability amount
          nullable: true
        RouteNumber:
          type: string
          description: >-
            Used to identify the route a driver will take when moving a package;
            used for Local Carrier
          nullable: true
      x-apidog-orders:
        - CODAmount
        - DeclaredLiability
        - RouteNumber
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Consignee:
      type: object
      properties:
        ContactInfo: *ref_2
        AddressInfo: *ref_3
        LocationName:
          type: string
          description: Consignee location name
        CompanyName:
          type: string
          description: Consignee company name
        Note:
          type: string
          description: Consignee note
        CompanyID:
          type: string
          description: Consignee company identifier
        VendorID:
          type: string
          description: >-
            Consignee vendor identifier - Used to map to an existing vendor in
            Banyan
        DCRefNum:
          type: string
          description: >-
            Consignee distribution center identifier - Used to map to an
            existing distribution center in Banyan
        Dock: &ref_4
          $ref: '#/components/schemas/Dock'
          description: Consignee dock information
      required:
        - ContactInfo
        - AddressInfo
        - LocationName
        - Dock
      x-apidog-orders:
        - ContactInfo
        - AddressInfo
        - LocationName
        - CompanyName
        - Note
        - CompanyID
        - VendorID
        - DCRefNum
        - Dock
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Dock:
      type: object
      properties:
        Name:
          type: string
          description: The name of the dock
        Note:
          type: string
          description: A note in regards of the dock.
          maxLength: 1000
        OpenTime:
          type: string
          description: >-
            The time the dock opens, must be the same date of the scheduled
            pickup/delivery.
        ShipmentDateTime:
          type: string
          description: "The date & time of the scheduled pickup or delivery.\t"
        CloseTime:
          type: string
          description: >-
            The time the dock closes, must be the same date of the scheduled
            pickup/delivery.
        ConfirmationNumber:
          type: string
          description: "The pickup/delivery confirmation number.\t"
        FCFS:
          type: boolean
          description: First come, first serve
      x-apidog-orders:
        - Name
        - Note
        - OpenTime
        - ShipmentDateTime
        - CloseTime
        - ConfirmationNumber
        - FCFS
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Shipper:
      type: object
      properties:
        ContactInfo: *ref_2
        AddressInfo: *ref_3
        LocationName:
          type: string
          description: Shipper location name
        CompanyName:
          type: string
          description: Shipper company name
        Note:
          type: string
          description: Shipper note
        CompanyID:
          type: string
          description: Shipper company identifier
        VendorID:
          type: string
          description: >-
            Shipper vendor identifier - Used to map to an existing vendor in
            Banyan
        DCRefNum:
          type: string
          description: >-
            Shipper distribution center identifier - Used to map to an existing
            distribution center in Banyan
        Dock: *ref_4
      required:
        - ContactInfo
        - AddressInfo
        - LocationName
        - Dock
      x-apidog-orders:
        - ContactInfo
        - AddressInfo
        - LocationName
        - CompanyName
        - Note
        - CompanyID
        - VendorID
        - DCRefNum
        - Dock
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    RateServices:
      type: object
      properties:
        ServiceCode: *ref_5
        ShippingQty:
          type: integer
          description: Shipment shipping quantity
        PackageType: *ref_6
        EquipmentType:
          description: Shipment package type
          $ref: '#/components/schemas/Equipment%20Type%20Enum'
        AdditionalWeight:
          type: number
          description: "Shipment additional weight (WeightUom, Default LBS)\t"
          format: float
        SpecialInstructions:
          type: string
          description: Shipment special instructions
        Length:
          type: number
          description: Shipment length (SizeUom, Default IN)
          format: float
        Width:
          type: number
          description: Shipment width (SizeUom, Default IN)
          format: float
        Height:
          type: number
          description: Shipment height (SizeUom, Default IN)
          format: float
        WeightUom:
          description: Shipment Weight UOM
          $ref: '#/components/schemas/Weight%20UOM%20Enum'
        SizeUom:
          description: Shipment Size UOM
          $ref: '#/components/schemas/Size%20UOM%20Enum'
      required:
        - ServiceCode
        - ShippingQty
        - PackageType
        - EquipmentType
      x-apidog-orders:
        - ServiceCode
        - ShippingQty
        - PackageType
        - EquipmentType
        - AdditionalWeight
        - SpecialInstructions
        - Length
        - Width
        - Height
        - WeightUom
        - SizeUom
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Size UOM Enum:
      type: string
      enum:
        - IN
        - FT
        - CM
      x-apidog-enum:
        - value: IN
          name: ''
          description: '1'
        - value: FT
          name: ''
          description: '2'
        - value: CM
          name: ''
          description: '3'
      x-apidog-folder: ''
    Weight UOM Enum:
      type: string
      enum:
        - LBS
        - KG
      x-apidog-enum:
        - value: LBS
          name: ''
          description: '1'
        - value: KG
          name: ''
          description: '2'
      x-apidog-folder: ''
    Equipment Type Enum:
      type: string
      enum:
        - Trailer_28ft
        - Other
        - Trailer_48ft
        - Tanker
        - RailCar_20ft
        - VanTrailer_Standard
        - VanTrailer_53ft
        - Trailer_26ft
        - Dumper_60yd
        - CarCarrier
        - DoubleDrop
        - RailCar_40ft
        - Dumper_80yd
        - StraightTruck_24ft_LiftGate
        - Trailer_24ft
        - StraightTruck_24ft
        - Container_45ft
        - Truck_4by4
        - StraightTruck_26ft_LiftGate
        - DumpTruck
        - Gooseneck
        - Dumper_40yd
        - Van
        - Container_40HQ
        - Truck
        - SprinterVan
        - HopperBottom
        - Car
        - StraightTruck_26ft
        - Dumper_20yd
        - AirCargo
        - MaxiTrailer
        - Frozen
        - BoxTruck_LiftGate
        - Van_LiftGate
        - StepDeck
        - Truck_LiftGate
        - RollOff
        - Container_53ft
        - Container_20ft
        - Refrigerated
        - WalkingFloor
        - Container_40ft
        - RailCar_53ft
        - LowBoy
        - FlatBed
        - PickupTruck
        - BoxTruck
        - ParcelTruck
        - Van_TriAxle
        - Bulk_Truck
        - Removable_Gooseneck
        - Winch_Truck
        - Tractor
        - Straight16
        - Straight18
        - Cargo_Van
        - Tractor_Trailer
        - Full_Size_Van
        - Minivan
        - Doubles
        - Trailer53
      x-apidog-enum:
        - value: Trailer_28ft
          name: ''
          description: '0'
        - value: Other
          name: ''
          description: '1'
        - value: Trailer_48ft
          name: ''
          description: '2'
        - value: Tanker
          name: ''
          description: '3'
        - value: RailCar_20ft
          name: ''
          description: '4'
        - value: VanTrailer_Standard
          name: ''
          description: '5'
        - value: VanTrailer_53ft
          name: ''
          description: '6'
        - value: Trailer_26ft
          name: ''
          description: '7'
        - value: Dumper_60yd
          name: ''
          description: '8'
        - value: CarCarrier
          name: ''
          description: '9'
        - value: DoubleDrop
          name: ''
          description: '10'
        - value: RailCar_40ft
          name: ''
          description: '11'
        - value: Dumper_80yd
          name: ''
          description: '12'
        - value: StraightTruck_24ft_LiftGate
          name: ''
          description: '13'
        - value: Trailer_24ft
          name: ''
          description: '14'
        - value: StraightTruck_24ft
          name: ''
          description: '15'
        - value: Container_45ft
          name: ''
          description: '16'
        - value: Truck_4by4
          name: ''
          description: '17'
        - value: StraightTruck_26ft_LiftGate
          name: ''
          description: '18'
        - value: DumpTruck
          name: ''
          description: '19'
        - value: Gooseneck
          name: ''
          description: '20'
        - value: Dumper_40yd
          name: ''
          description: '21'
        - value: Van
          name: ''
          description: '22'
        - value: Container_40HQ
          name: ''
          description: '23'
        - value: Truck
          name: ''
          description: '24'
        - value: SprinterVan
          name: ''
          description: '25'
        - value: HopperBottom
          name: ''
          description: '26'
        - value: Car
          name: ''
          description: '27'
        - value: StraightTruck_26ft
          name: ''
          description: '28'
        - value: Dumper_20yd
          name: ''
          description: '29'
        - value: AirCargo
          name: ''
          description: '30'
        - value: MaxiTrailer
          name: ''
          description: '31'
        - value: Frozen
          name: ''
          description: '32'
        - value: BoxTruck_LiftGate
          name: ''
          description: '33'
        - value: Van_LiftGate
          name: ''
          description: '34'
        - value: StepDeck
          name: ''
          description: '35'
        - value: Truck_LiftGate
          name: ''
          description: '36'
        - value: RollOff
          name: ''
          description: '37'
        - value: Container_53ft
          name: ''
          description: '38'
        - value: Container_20ft
          name: ''
          description: '39'
        - value: Refrigerated
          name: ''
          description: '40'
        - value: WalkingFloor
          name: ''
          description: '41'
        - value: Container_40ft
          name: ''
          description: '42'
        - value: RailCar_53ft
          name: ''
          description: '43'
        - value: LowBoy
          name: ''
          description: '44'
        - value: FlatBed
          name: ''
          description: '45'
        - value: PickupTruck
          name: ''
          description: '46'
        - value: BoxTruck
          name: ''
          description: '47'
        - value: ParcelTruck
          name: ''
          description: '48'
        - value: Van_TriAxle
          name: ''
          description: '49'
        - value: Bulk_Truck
          name: ''
          description: '50'
        - value: Removable_Gooseneck
          name: ''
          description: '51'
        - value: Winch_Truck
          name: ''
          description: '52'
        - value: Tractor
          name: ''
          description: '53'
        - value: Straight16
          name: ''
          description: '54'
        - value: Straight18
          name: ''
          description: '55'
        - value: Cargo_Van
          name: ''
          description: '56'
        - value: Tractor_Trailer
          name: ''
          description: '57'
        - value: Full_Size_Van
          name: ''
          description: '58'
        - value: Minivan
          name: ''
          description: '59'
        - value: Doubles
          name: ''
          description: '60'
        - value: Trailer53
          name: ''
          description: '61'
      x-apidog-folder: ''
    BillTo:
      type: object
      properties:
        Name:
          type: string
          description: Billing Name
        Note:
          type: string
          description: Billing Note
        ShipType:
          description: Shipment Ship Type
          $ref: '#/components/schemas/Ship%20Type%20Enum'
        PayType:
          description: Shipment Pay Type
          $ref: '#/components/schemas/Pay%20Type%20Enum'
        AddressInfo: *ref_3
        ContactInfo: *ref_2
        UseDefaultBillTo:
          type: boolean
          description: Map to client's default bill to
        UseDefaultShipType:
          type: boolean
          description: Map to client's default ship type
        UseDefaultPayType:
          type: boolean
          description: Map to client's default pay type
      required:
        - ShipType
        - PayType
        - AddressInfo
        - ContactInfo
      x-apidog-orders:
        - Name
        - Note
        - ShipType
        - PayType
        - AddressInfo
        - ContactInfo
        - UseDefaultBillTo
        - UseDefaultShipType
        - UseDefaultPayType
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Pay Type Enum:
      type: string
      enum:
        - Collect
        - Prepaid
      x-apidog-enum:
        - value: Collect
          name: ''
          description: "0\t"
        - value: Prepaid
          name: ''
          description: '1'
      x-apidog-folder: ''
    Ship Type Enum:
      type: string
      enum:
        - Shipper
        - Consignee
        - ThirdParty
      x-apidog-enum:
        - value: Shipper
          name: ''
          description: '0'
        - value: Consignee
          name: ''
          description: '1'
        - value: ThirdParty
          name: ''
          description: '2'
      x-apidog-folder: ''
    Loadinfo:
      type: object
      properties:
        LoadID:
          type: integer
          description: Banyan's primary shipment identifier
        ManifestID:
          type: string
          description: Shipment pro number
        BOLNumber:
          type: string
          description: Shipment BOL number
        CustomerPO:
          type: string
          description: Shipment Customer PO
        InvoiceID:
          type: string
          description: Shipment Invoice identifier
        BillingID:
          type: string
          description: Shipment Billing identifier
        IncoTermID:
          description: Shipment IncoTerm identifier
          $ref: '#/components/schemas/Inco%20Terms%20Enum'
        UltimateDestinationCountryCode:
          type: string
          description: Two/Three Character Country Code
        PickupNumber:
          type: string
          description: Pickup number assigned to the load
        EstimatedDeliveryDate:
          type: string
          description: Estimated Delivery Date
          format: date-time
        EstimatedPickupDate:
          type: string
          description: Estimated Pickup Date
          format: date-time
        ActualPickupDate:
          type: string
          description: Actual Pickup Date
          format: date-time
        ActualDeliveryDate:
          type: string
          description: Actual Delivery Date
          format: date-time
      x-apidog-orders:
        - LoadID
        - ManifestID
        - BOLNumber
        - CustomerPO
        - InvoiceID
        - BillingID
        - IncoTermID
        - UltimateDestinationCountryCode
        - PickupNumber
        - EstimatedDeliveryDate
        - EstimatedPickupDate
        - ActualPickupDate
        - ActualDeliveryDate
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Inco Terms Enum:
      type: string
      enum:
        - Free Alongside Ship
        - Free Onboard
        - Cost and Freight
        - Cost Insurance and Freight
        - Carriage Paid To
        - Carriage and Insurance Paid
        - Delivered at Terminal
        - Delivered at Place
        - Delivered Duty Paid
        - Delivered at Frontier
        - Delivered ExShip
        - Delivered ExQuay
        - Delivered Duty Unpaid
        - Free Carrier
        - ExWorks
      x-apidog-enum:
        - value: Free Alongside Ship
          name: ''
          description: '0'
        - value: Free Onboard
          name: ''
          description: '1'
        - value: Cost and Freight
          name: ''
          description: '2'
        - value: Cost Insurance and Freight
          name: ''
          description: '3'
        - value: Carriage Paid To
          name: ''
          description: '4'
        - value: Carriage and Insurance Paid
          name: ''
          description: '5'
        - value: Delivered at Terminal
          name: ''
          description: '6'
        - value: Delivered at Place
          name: ''
          description: '7'
        - value: Delivered Duty Paid
          name: ''
          description: '8'
        - value: Delivered at Frontier
          name: ''
          description: '9'
        - value: Delivered ExShip
          name: ''
          description: '10'
        - value: Delivered ExQuay
          name: ''
          description: '11'
        - value: Delivered Duty Unpaid
          name: ''
          description: '12'
        - value: Free Carrier
          name: ''
          description: '13'
        - value: ExWorks
          name: ''
          description: '14'
      x-apidog-folder: ''
    InvoiceAddressDetails:
      type: object
      properties:
        Type:
          type: string
          description: Address type
        Name:
          type: string
          description: "Address name\t"
        IDCode:
          type: string
          description: "Address ID Code\t"
          default: 'null'
          nullable: true
        Address1:
          type: string
          description: Address 1
        Address2:
          type: string
          description: Address 2
        City:
          type: string
          description: City
        StateCode:
          type: string
          description: Two-character state code
        PostalCode:
          type: string
          description: Zip code
        CountryCode:
          type: string
          description: Three-character country code
        GLCode:
          type: string
          default: 'null'
          description: GL Code
          nullable: true
      required:
        - Type
        - Name
        - Address1
        - City
        - StateCode
        - PostalCode
        - CountryCode
      x-apidog-orders:
        - Type
        - Name
        - IDCode
        - Address1
        - Address2
        - City
        - StateCode
        - PostalCode
        - CountryCode
        - GLCode
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InvoicePaymentDetails:
      type: object
      properties:
        BatchID:
          type: string
        Amount:
          type: number
          format: float
        Identifier:
          type: string
        Type:
          type: string
        Description:
          type: string
        UsersName:
          type: string
        DateTime:
          type: string
          format: date-time
      x-apidog-orders:
        - BatchID
        - Amount
        - Identifier
        - Type
        - Description
        - UsersName
        - DateTime
      required:
        - BatchID
        - Amount
        - Identifier
        - Type
        - Description
        - UsersName
        - DateTime
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InvoiceLineDetails:
      type: object
      properties:
        CarrierChargeCode:
          type: string
          description: Original/Raw Code returned by Carrier
        NormalizedChargeCode:
          type: string
          description: Normalized/Mapped Code from Banyan
        Description:
          type: string
          description: Product line description
        Quantity:
          type: integer
          description: Product line quantity
        PackagingCode:
          type: string
          description: Packaging code of product
        Weight:
          type: number
          description: Product line weight
          format: float
        Charge:
          type: number
          description: Product line charge
          format: float
        FreightClass:
          type: string
          description: Product line class
        Extension:
          type: string
          description: Set by EDI Extension Settings
        RatedAsQuantity:
          type: number
          format: float
          default: null
          nullable: true
        RatedAsQualifier:
          type: string
          nullable: true
      required:
        - CarrierChargeCode
        - NormalizedChargeCode
        - Quantity
        - Weight
      x-apidog-orders:
        - CarrierChargeCode
        - NormalizedChargeCode
        - Description
        - Quantity
        - PackagingCode
        - Weight
        - Charge
        - FreightClass
        - Extension
        - RatedAsQuantity
        - RatedAsQualifier
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InvoiceBatchDetails:
      type: object
      properties:
        BatchID:
          type: string
          description: Batch identifier of batch attached to invoice
          readOnly: true
          x-apidog-mock: BatchId
          nullable: true
        User:
          type: string
          description: User that batched the invoice
          readOnly: true
          x-apidog-mock: '{{$internet.userName}}'
          nullable: true
        DateTime:
          type: string
          description: Date the batch occurred
          format: date-time
          readOnly: true
          x-apidog-mock: '{{$date.between}}'
          nullable: true
      required:
        - BatchID
        - User
        - DateTime
      x-apidog-orders:
        - BatchID
        - User
        - DateTime
      readOnly: true
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InvoiceQuoteDetails:
      type: object
      properties:
        CarrierName:
          type: string
          description: Carrier name on quote
        CarrierSCAC:
          type: string
          description: Carrier SCAC on quote
        QuoteNumber:
          type: string
          description: Carrier quote identifier
        DateTime:
          type: string
          description: Date quoted
          format: date-time
        TotalCharge:
          type: number
          format: float
          description: Total charge of quote
        FreightCharge:
          type: number
          description: Freight charge of quote
          format: float
        DiscountPercent:
          type: number
          description: Discount percent of quote
          format: float
        DiscountAmount:
          type: number
          description: Discount amount of quote
          format: float
        FuelSurcharge:
          type: number
          description: Fuel Surcharge on quote
          format: float
        Minimum:
          type: number
          description: Minimum charge of quote
          format: float
          nullable: true
        GrossCharge:
          type: number
          description: Gross charge of quote
          format: float
        TotalAccessorialCharges:
          type: number
          description: Sum of accessorial charges on quote
          format: float
        TotalOtherCharges:
          type: number
          description: Sum of all other charges on quote
          format: float
        Interline:
          type: boolean
          description: Set to true only when confirmed to be interline
      required:
        - CarrierName
        - CarrierSCAC
        - DateTime
        - TotalCharge
        - FreightCharge
        - FuelSurcharge
        - GrossCharge
      x-apidog-orders:
        - CarrierName
        - CarrierSCAC
        - QuoteNumber
        - DateTime
        - TotalCharge
        - FreightCharge
        - DiscountPercent
        - DiscountAmount
        - FuelSurcharge
        - Minimum
        - GrossCharge
        - TotalAccessorialCharges
        - TotalOtherCharges
        - Interline
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    InvoiceLoadDetails:
      type: object
      properties:
        LoadId:
          type: integer
          title: ''
          description: Banyan's primary Shipment Identifier
        GuidLoadID:
          type: string
          description: 'Guid identifier for the shipment. '
        ProNumber:
          type: string
          description: Shipment's pro number
        BOLID:
          type: string
          description: Shipment's BOL number
        CustomerPO:
          type: string
          description: Shipment's PO number
        PayType:
          type: string
          description: Pay type of shipment
        TotalWeight:
          type: number
          description: Total shipping weight
          format: float
        WeightUnitOfMeasure:
          type: string
          description: "Unit of Measure for Total Weight\t"
        TotalPieces:
          type: integer
          description: Total piece count
        PickupDateTime:
          type: string
          description: Pickup date for shipment
          format: date-time
        DeliveryDateTime:
          type: string
          description: Delivery date for shipment
          format: date-time
      required:
        - LoadId
        - GuidLoadID
        - ProNumber
        - PayType
        - TotalWeight
        - WeightUnitOfMeasure
        - TotalPieces
        - PickupDateTime
        - DeliveryDateTime
      x-apidog-orders:
        - LoadId
        - GuidLoadID
        - ProNumber
        - BOLID
        - CustomerPO
        - PayType
        - TotalWeight
        - WeightUnitOfMeasure
        - TotalPieces
        - PickupDateTime
        - DeliveryDateTime
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
