Asendia External Invoice Import API

The ExternalInvoiceImport API from Asendia — 1 operation(s) for externalinvoiceimport.

Operations 1

POST /api/A1/v1.0/ExternalInvoiceImport/Invoice Create api a1 external invoice import invoice #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-consolidation-orders-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-consolidation-orders-response-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-ttevents-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-ttevents-response-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-volumizer-pre-process-parcel-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-generic-pre-process-parcel-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-pre-process-parcel-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-volumizer-pre-process-parcel-response-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-generic-pre-process-parcel-response-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-vitronic-data-item-list-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-external-invoice-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-boolean-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-sales-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-purchase-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-void-sales-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-inventory-adjustment-response-list-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-response-sales-order-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-item-receipt-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-insert-processing-entry-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-close-bag-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-finish-run-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-int32-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-put-package-to-bin-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-put-bin-close-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-get-bin-number-response-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-parcel-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-response-status-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-delete-parcel-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-close-dashipment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-close-shipment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-close-shipment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-pudo-locator-response-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-barcode-scan-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-string-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-receptacle-api-model-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-create-receptacle-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-get-receptacle-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-customer-account-list-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-customer-contact-list-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-package-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-pre-alert-request-with-receptacle-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-pre-alert-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-close-direct-shipment-dispatch-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-close-dispatch-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-package-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-post-package-bulk-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-get-tracking-milestone-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-get-tracking-detail-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-tracking-milestone-list-api-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/asendia/json-schema/asendia-tracking-detail-list-api-response-schema.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/asendia:asendia-externalinvoiceimport-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

asendia-externalinvoiceimport-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Asendia External Invoice Import API
  version: ExternalInvoiceImport v1.0
  contact:
    name: Asendia USA Web Service Team for any questions or comments.
    email: john.mcshane@asendia.com;chris.joiner@asendia.com;katie.vogt@asendia.com;ammi.cabrera@asendia.com
  description: 'Operations tagged ExternalInvoiceImport across 2 of this provider''s published API definitions: asendia-a1-externalinvoiceimport-swagger.json, asendia-a1-externalinvoiceimport-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: ExternalInvoiceImport
paths:
  /api/A1/v1.0/ExternalInvoiceImport/Invoice:
    post:
      tags:
      - ExternalInvoiceImport
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ExternalInvoice'
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalInvoice'
          text/json:
            schema:
              $ref: '#/components/schemas/ExternalInvoice'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ExternalInvoice'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/BooleanApiResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/BooleanApiResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/BooleanApiResponse'
      summary: Create api a1 external invoice import invoice
      x-summary-source: derived
      operationId: postApiA1V10ExternalInvoiceImportInvoice
      x-operation-id-source: derived
components:
  schemas:
    ExternalInvoice:
      required:
      - customerAccountNumber
      - invoiceCurrencyIso3
      - invoiceDate
      - invoiceLines
      - invoiceNumber
      - invoiceType
      type: object
      properties:
        customerAccountNumber:
          type: string
          description: The Asendia customer account number of the customer that this invoice applies to.
        invoiceType:
          allOf:
          - $ref: '#/components/schemas/InvoiceType'
          description: The type of invoice.  Possible values are "Credit" or "Debit".
        invoiceNumber:
          type: string
          description: Unique invoice number.  This is the number that will appear on the customer invoice for reference.
        invoiceDate:
          type: string
          description: Date of the invoice. This is the date that will appear on the invoice.  Format should be standard date in the MM/dd/yyyy format.
          format: date-time
        invoiceCurrencyIso3:
          type: string
          description: Currency Iso3 of the invoice.  All charged will be assumed to be in this currency.  Invoice will also be generated in this currency.
        invoiceLines:
          type: array
          items:
            $ref: '#/components/schemas/ExternalInvoiceLines'
          description: Individual line items that will appear on the invoice.  Tax charges will be broken out as sub line items.
        attachments:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ExternalAttachment'
          description: File attachments that will be added to the invoice.  Attachments will also be delivered to the customer.
      additionalProperties: false
    InvoiceType:
      enum:
      - Credit
      - Debit
      type: string
    ExternalInvoiceLines:
      required:
      - asendiaProductCode
      - description
      - jobNumber
      - postageMaterialCode
      - postageTotal
      type: object
      properties:
        location:
          type:
          - string
          - 'null'
          description: Three character location code of the Asendia facility tied to the charges. Valid locations provided by Asendia.
        jobNumber:
          type: string
          description: Job number associated with the charges.  Charges will be grouped by job number on the invoice.
        description:
          type: string
          description: Description of charges that will appear on the invoice.
        province:
          type:
          - string
          - 'null'
          description: Province/State that the charges apply to.
        postageMaterialCode:
          type: string
          description: Material code associated with postage charges.  Must be a valid material code provided by Asendia
        pieces:
          maximum: 2147483647
          minimum: 0
          type:
          - integer
          - 'null'
          description: Number of pieces/parcels associated with the line item if applicable.
          format: int32
        weight:
          maximum: 79228162514264337593543950335
          minimum: 0
          type:
          - number
          - 'null'
          description: Weight of pieces/parcels associated with the line item if applicable.
          format: double
        weightCode:
          allOf:
          - $ref: '#/components/schemas/WeightType'
          description: Weight code of line item weight. Possible values are "Lbs" and "Kgs". Defaulted to "Lbs" if not provided.
        asendiaProductCode:
          type: string
          description: Asendia product code associated with the charges.  Must be a valid product code provided by Asendia.
        postageTotal:
          maximum: 79228162514264337593543950335
          minimum: 0
          type: number
          description: All charges associated with the line item excluding Canadian tax amounts. Canadian charges must be broken out separately.
          format: double
        taxMaterialCode:
          type:
          - string
          - 'null'
          description: 'Material code associated with Canadian tax charges.  Must be a valid material code provided by Asendia.

            **Conditionally required if tax amounts are provided**'
        gstTotal:
          maximum: 79228162514264337593543950335
          minimum: 0
          type:
          - number
          - 'null'
          description: GST Tax charge associated with the line. If not provided will be excluded from the invoice line on the invoice.
          format: double
        hstTotal:
          maximum: 79228162514264337593543950335
          minimum: 0
          type:
          - number
          - 'null'
          description: HST Tax charge associated with the line. If not provided will be excluded from the invoice line on the invoice.
          format: double
        pstTotal:
          maximum: 79228162514264337593543950335
          minimum: 0
          type:
          - number
          - 'null'
          description: PST Tax charge associated with the line. If not provided will be excluded from the invoice line on the invoice.
          format: double
        qstTotal:
          maximum: 79228162514264337593543950335
          minimum: 0
          type:
          - number
          - 'null'
          description: QST Tax charge associated with the line. If not provided will be excluded from the invoice line on the invoice.
          format: double
      additionalProperties: false
    ExternalAttachment:
      required:
      - fileContents
      - name
      type: object
      properties:
        name:
          type: string
          description: Friendly name of the attachment.  Will display internally.
        fileContents:
          type: string
          description: Base 64 encoded contents of the file. If not base 64 encoded the contents will not display properly internally or when sending to customer.
        fileName:
          type:
          - string
          - 'null'
          description: Name of the file that will be attached to the file.  Name must include extension such as ".csv" or ".pdf" or it will not display properly internally or when sending to customer.
      additionalProperties: false
    BooleanApiResponse:
      type: object
      properties:
        data:
          type: boolean
        responseStatus:
          allOf:
          - $ref: '#/components/schemas/ResponseStatus'
      additionalProperties: false
    ResponseStatus:
      type: object
      properties:
        responseStatusCode:
          type: integer
          description: This is used to display the code for the return status.
          format: int32
        responseStatusMessage:
          type:
          - string
          - 'null'
          description: This is used for a human readable return status message.
      additionalProperties: false
      description: Displays the status of the Return
    WeightType:
      enum:
      - Lbs
      - Kgs
      type: string
x-refined-from:
- asendia-a1-externalinvoiceimport-swagger.json
- asendia-a1-externalinvoiceimport-openapi.yml