# Get multiple invoices

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/Invoices:
    get:
      summary: Get multiple invoices
      deprecated: false
      description: >-
        ### Returns a paged list of all invoices that match the provided
        criteria.
      tags:
        - Version 3/Invoice
        - Invoice
      parameters:
        - name: ClientReferenceNumber
          in: query
          description: Filter by client reference number
          required: false
          schema:
            type: string
        - name: ProNumber
          in: query
          description: Filter by pro number.
          required: false
          schema:
            type: string
        - name: BolNumber
          in: query
          description: Filter by bol number.
          required: false
          schema:
            type: string
        - name: LoadId
          in: query
          description: Filter by load id.
          required: false
          schema:
            type: integer
        - name: CreatedStartDate
          in: query
          description: Filter by created date range start
          required: false
          schema:
            type: string
        - name: CreatedEndDate
          in: query
          description: Filter by created date range end
          required: false
          schema:
            type: string
        - name: PickupStartDate
          in: query
          description: Filter by pickup date range start
          required: false
          schema:
            type: string
        - name: PickupEndDate
          in: query
          description: Filter by pickup date range end
          required: false
          schema:
            type: string
        - name: DeliveredStartDate
          in: query
          description: Filter by delivered date range start
          required: false
          schema:
            type: string
        - name: DeliveredEndDate
          in: query
          description: Filter by delivered date range end
          required: false
          schema:
            type: string
        - name: BillingStartDate
          in: query
          description: Filter by billing date range start
          required: false
          schema:
            type: string
        - name: BillingEndDate
          in: query
          description: Filter by billing date range end
          required: false
          schema:
            type: string
        - name: InvoiceStatus
          in: query
          description: Filter by invoice status.
          required: false
          schema:
            type: string
        - name: ExcludeExported
          in: query
          description: True if exported invoices should be excluded, otherwise false.
          required: false
          schema:
            type: boolean
        - name: OrderBy
          in: query
          description: Order by field
          required: false
          schema:
            type: string
        - name: PageSize
          in: query
          description: 'The number of items to return. '
          required: false
          schema:
            type: integer
            maximum: 50
            default: 10
        - name: PageNumber
          in: query
          description: The page number of the results.
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/BanyanWebServices.Domain.Dtos.Invoices.InvoiceDto
          headers: {}
          x-apidog-name: Success
        '400':
          description: ''
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc'
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Forbidden
        '404':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Not Found
        '429':
          description: ''
          content:
            application/json:
              schema: *ref_0
          headers: {}
          x-apidog-name: Too Many Requests
      security: []
      x-apidog-folder: Version 3/Invoice
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/668040/apis/api-10126282-run
components:
  schemas:
    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-ignore-properties: []
      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-ignore-properties: []
      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-ignore-properties: []
      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-ignore-properties: []
      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-ignore-properties: []
      x-apidog-folder: ''
    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-ignore-properties: []
      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-ignore-properties: []
      x-apidog-folder: ''
    Microsoft.AspNetCore.Mvc:
      title: ErrorResponse
      type: object
      properties:
        type:
          type: string
          description: A link explaining the response code
        title:
          type: string
          description: Describes the type of error
        status:
          type: integer
          description: The status code
        traceId:
          type: string
          description: A unique id to help troubleshoot
        detail:
          type: string
          description: A detailed message about the error
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          x-apidog-orders: []
          properties: {}
          description: Any errors returned.
          x-apidog-ignore-properties: []
      required:
        - type
        - title
        - status
        - traceId
      x-apidog-orders:
        - type
        - title
        - status
        - traceId
        - detail
        - errors
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
