# BanyanWebServices.Domain.Dtos.Invoices.InvoiceDto

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    BanyanWebServices.Domain.Dtos.Invoices.ShipmentDetailsDto:
      type: object
      properties:
        bolNumber:
          type: string
          description: Gets or sets the bol number.
          nullable: true
        customerPo:
          type: string
          description: Gets or sets the customer po.
          nullable: true
        proNumber:
          type: string
          description: Gets or sets the pro number.
          nullable: true
        loadId:
          type: integer
          description: Gets or sets the load id.
          format: int32
          nullable: true
        externalLoadId:
          type: string
          description: Gets or sets the external load id.
          format: uuid
          nullable: true
        payType:
          type: string
          description: Gets or sets the pay type.
          nullable: true
        totalPieces:
          type: integer
          description: Gets or sets the total pieces.
          format: int32
          nullable: true
        totalWeight:
          type: number
          description: Gets or sets the total weight.
          format: double
          nullable: true
        weightUnitOfMeasure:
          type: string
          description: Gets or sets the weight unit of measure.
          nullable: true
      additionalProperties: false
      description: The shipment details dto.
      x-apidog-orders:
        - bolNumber
        - customerPo
        - proNumber
        - loadId
        - externalLoadId
        - payType
        - totalPieces
        - totalWeight
        - weightUnitOfMeasure
      x-apidog-folder: ''
    BanyanWebServices.Domain.Dtos.Invoices.QuoteDetailsDto:
      type: object
      properties:
        quoteNumber:
          type: string
          description: Gets or sets the quote number.
          nullable: true
        date:
          type: string
          description: Gets or sets the date.
          format: date-time
          nullable: true
        interline:
          type: boolean
          description: True if the quote is interline, otherwise false.
          nullable: true
        carrierName:
          type: string
          description: Gets or sets the carrier name.
          nullable: true
        carrierScac:
          type: string
          description: Gets or sets the carrier scac.
          nullable: true
        discountAmount:
          type: number
          description: Gets or sets the discount amount.
          format: double
          nullable: true
        discountPercent:
          type: number
          description: Gets or sets the discount percent.
          format: double
          nullable: true
        freightCharge:
          type: number
          description: Gets or sets the freight charge.
          format: double
          nullable: true
        grossCharge:
          type: number
          description: Gets or sets the gross charge.
          format: double
          nullable: true
        fuelSurcharge:
          type: number
          description: The fuel surcharge.
          format: double
          nullable: true
        minimum:
          type: number
          description: Gets or sets the minimum.
          format: double
          nullable: true
        totalAccessorialCharges:
          type: number
          description: Gets or sets the total accessorial charges.
          format: double
          nullable: true
        totalOtherCharges:
          type: number
          description: Gets or sets the total other charges.
          format: double
          nullable: true
        totalCharge:
          type: number
          description: Gets or sets the total charge.
          format: double
          nullable: true
        variance:
          type: number
          description: Gets or sets the variance.
          format: double
          nullable: true
      additionalProperties: false
      description: The quote details dto.
      x-apidog-orders:
        - quoteNumber
        - date
        - interline
        - carrierName
        - carrierScac
        - discountAmount
        - discountPercent
        - freightCharge
        - grossCharge
        - fuelSurcharge
        - minimum
        - totalAccessorialCharges
        - totalOtherCharges
        - totalCharge
        - variance
      x-apidog-folder: ''
    BanyanWebServices.Domain.Dtos.Invoices.PaymentDto:
      type: object
      properties:
        amount:
          type: number
          description: Gets or sets the amount.
          format: double
          nullable: true
        batchId:
          type: string
          description: Gets or sets the batch id.
          nullable: true
        identifier:
          type: string
          description: Gets or sets the identifier.
          nullable: true
        type:
          type: string
          description: Gets or sets the type.
          nullable: true
        user:
          type: string
          description: Gets or sets the user.
          nullable: true
        date:
          type: string
          description: Gets or sets the date.
          format: date-time
          nullable: true
      additionalProperties: false
      description: The payment dto.
      x-apidog-orders:
        - amount
        - batchId
        - identifier
        - type
        - user
        - date
      x-apidog-folder: ''
    BanyanWebServices.Domain.Dtos.Invoices.InvoiceLineItemDto:
      type: object
      properties:
        carrierChargeCode:
          type: string
          description: Gets or sets the carrier charge code.
          nullable: true
        charge:
          type: number
          description: Gets or sets the charge.
          format: double
          nullable: true
        description:
          type: string
          description: Gets or sets the description.
          nullable: true
        extension:
          type: string
          description: Gets or sets the extension.
          nullable: true
        freightClass:
          type: string
          description: Gets or sets the freight class.
          nullable: true
        normalizedChargeCode:
          type: string
          description: Gets or sets the normalized charge code.
          nullable: true
        packagingCode:
          type: string
          description: Gets or sets the packaging code.
          nullable: true
        quantity:
          type: integer
          description: Gets or sets the quantity.
          format: int32
          nullable: true
        weight:
          type: number
          description: Gets or sets the weight.
          format: double
          nullable: true
        ratedAsQuantity:
          type: number
          description: Gets or sets the rated as quantity.
          format: double
          nullable: true
        ratedAsQualifier:
          type: string
          description: Gets or sets the rated as qualifier.
          nullable: true
      additionalProperties: false
      description: The invoice line item dto.
      x-apidog-orders:
        - carrierChargeCode
        - charge
        - description
        - extension
        - freightClass
        - normalizedChargeCode
        - packagingCode
        - quantity
        - weight
        - ratedAsQuantity
        - ratedAsQualifier
      x-apidog-folder: ''
    BanyanWebServices.Domain.Dtos.Invoices.InvoiceDto:
      type: object
      properties:
        apId:
          type: integer
          description: Gets or sets the ap id.
          format: int32
        carrierName:
          type: string
          description: Gets or sets carrier name.
          nullable: true
        carrierScac:
          type: string
          description: Gets or sets the carrier scac.
          nullable: true
        clientName:
          type: string
          description: Gets or sets the client name.
          nullable: true
        clientReferenceNumber:
          type: string
          description: Gets or sets the client reference number.
          nullable: true
        currencyCode:
          type: string
          description: Gets or sets the currency code.
          nullable: true
        invoiceStatusCode:
          type: string
          description: Gets or sets the invoice status code.
          nullable: true
        invoiceType:
          type: string
          description: Gets or sets the invoice type.
          nullable: true
        netAmountDue:
          type: number
          description: Gets or sets the net amount due.
          format: double
          nullable: true
        totalCharges:
          type: number
          description: Gets or sets the total charges.
          format: double
          nullable: true
        vendorId:
          type: integer
          description: Gets or sets the vendor id.
          format: int32
          nullable: true
        vendorName:
          type: string
          description: Gets or sets the vendor name.
          nullable: true
        ediType:
          type: string
          description: Gets or sets the edi type.
          nullable: true
        ediBillToAccountCode:
          type: string
          description: Gets or sets the edit bill to account code.
          nullable: true
        hasException:
          type: boolean
          description: True if the invoice has an exception, otherwise false.
        shipmentCreatedFromInvoice:
          type: boolean
          description: True if a shipment was created from the invoice, otherwise false.
        createdDate:
          type: string
          description: Gets or sets the created date.
          format: date-time
          nullable: true
        exportedDate:
          type: string
          description: Gets or sets the exported date.
          format: date-time
          nullable: true
        billingDate:
          type: string
          description: Gets or sets the billing date.
          format: date-time
          nullable: true
        pickupDate:
          type: string
          description: Gets or sets the pickup date.
          format: date-time
          nullable: true
        deliveryDate:
          type: string
          description: Gets or sets the delivery date.
          format: date-time
          nullable: true
        bolAvailable:
          type: boolean
          description: True if the bill of lading is available, otherwise false.
          nullable: true
        podAvailable:
          type: boolean
          description: True if the proof of delivery is available, otherwise false.
          nullable: true
        batchDetails:
          $ref: >-
            #/components/schemas/BanyanWebServices.Domain.Dtos.Invoices.BatchDetailsDto
        shipmentDetails:
          $ref: >-
            #/components/schemas/BanyanWebServices.Domain.Dtos.Invoices.ShipmentDetailsDto
        quoteDetails:
          $ref: >-
            #/components/schemas/BanyanWebServices.Domain.Dtos.Invoices.QuoteDetailsDto
        lineItems:
          type: array
          items:
            $ref: >-
              #/components/schemas/BanyanWebServices.Domain.Dtos.Invoices.InvoiceLineItemDto
          description: Gets or sets the line items.
          nullable: true
        payments:
          type: array
          items:
            $ref: >-
              #/components/schemas/BanyanWebServices.Domain.Dtos.Invoices.PaymentDto
          description: Gets or sets the payments.
          nullable: true
        addresses:
          type: array
          items:
            $ref: >-
              #/components/schemas/BanyanWebServices.Domain.Dtos.Invoices.InvoiceAddressDto
          description: Gets or sets the addresses.
          nullable: true
      additionalProperties: false
      description: The invoice dto.
      x-apidog-orders:
        - apId
        - carrierName
        - carrierScac
        - clientName
        - clientReferenceNumber
        - currencyCode
        - invoiceStatusCode
        - invoiceType
        - netAmountDue
        - totalCharges
        - vendorId
        - vendorName
        - ediType
        - ediBillToAccountCode
        - hasException
        - shipmentCreatedFromInvoice
        - createdDate
        - exportedDate
        - billingDate
        - pickupDate
        - deliveryDate
        - bolAvailable
        - podAvailable
        - batchDetails
        - shipmentDetails
        - quoteDetails
        - lineItems
        - payments
        - addresses
      x-apidog-folder: ''
    BanyanWebServices.Domain.Dtos.Invoices.InvoiceAddressDto:
      type: object
      properties:
        lineOne:
          type: string
          description: Gets or sets line one.
          nullable: true
        lineTwo:
          type: string
          description: Gets or sets line two.
          nullable: true
        city:
          type: string
          description: Gets or sets the city.
          nullable: true
        stateCode:
          type: string
          description: Gets or sets the state code.
          nullable: true
        postalCode:
          type: string
          description: Gets or sets the postal code.
          nullable: true
        countryCode:
          type: string
          description: Gets or sets the country code.
          nullable: true
        glCode:
          type: string
          description: Gets or sets the GL code.
          nullable: true
        idCode:
          type: string
          description: Gets or sets the id code.
          nullable: true
        name:
          type: string
          description: Gets or sets the name.
          nullable: true
        type:
          type: string
          description: Gets or sets the type.
          nullable: true
      additionalProperties: false
      description: The invoice address dto.
      x-apidog-orders:
        - lineOne
        - lineTwo
        - city
        - stateCode
        - postalCode
        - countryCode
        - glCode
        - idCode
        - name
        - type
      x-apidog-folder: ''
    BanyanWebServices.Domain.Dtos.Invoices.BatchDetailsDto:
      type: object
      properties:
        batchId:
          type: string
          description: Gets or sets the batch id.
          nullable: true
        batchDate:
          type: string
          description: Gets or sets the batch date.
          format: date-time
          nullable: true
        user:
          type: string
          description: Gets or sets the user.
          nullable: true
      additionalProperties: false
      description: The batch details dto.
      x-apidog-orders:
        - batchId
        - batchDate
        - user
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
