DHL

DHL Sales Invoice Push API

The Sales Invoice Push API API from DHL — 1 operation(s) for sales invoice push api.

GitHub OpenAPI
Business capability
Freight Invoicing Management BC-2530.10

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /subscription/invoice Subscribe to sales invoice push notifications · Sales Invoice Push API Subscription #
Ask an LLM
“How do I get DHL to push sales invoice data to my callback URL?”
“Can I choose to receive only invoice notifications instead of the full invoice data?”
Tell an agent
Subscribe to sales invoice push notifications at {callback_url}.
Enable {subscription_type} invoice push notifications to {callback_url} with headers {headers}.

Documentation

📖
Documentation
https://developer.dhl.com/tracking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-unified-push
📖
Documentation
https://developer.dhl.com/api-reference/additional-services-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/datafactory-autocomplete-20-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-hybrid-mail-shipments-e-post-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-international-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-internetmarke-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-targeting-post-parcel-germany
📖
Documentation
https://developer.dhl.com/parcel-connect
📖
Documentation
https://developer.dhl.com/api-reference/econnect-beta-dhl-ecommerce-europe
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-pickup-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-postnumber-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-private-shipping-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-returns-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/parcel-de-shipping-post-parcel-germany-v2
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-shipment-tracking-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-document
📖
Documentation
https://developer.dhl.com/api-reference/duty-tax-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/ecommerce-uk
📖
Documentation
https://developer.dhl.com/api-reference/parcel-eu
📖
Documentation
https://developer.dhl.com/api-reference/pickup-cancellation-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/price-quote-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/print-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-and-sub-product-pickup-detail-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/product-finder-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/products-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-push-api
📖
Documentation
https://developer.dhl.com/api-reference/registration-pickup-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/return-label-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/shipment-booking-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-booking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-label-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-status
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-v2-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/time-table-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/tracking-dhl-ecommerce-americas

Specifications

Schemas & Data

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/dhl:dhl-sales-invoice-push-api-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

dhl-sales-invoice-push-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.5'
  title: Push API Subscription (DHL Global Forwarding) Sales Invoice…
servers:
- url: https://api.dhl.com/dgff/push
  description: Production URL
- url: https://api-sandbox.dhl.com/dgff/push
  description: Sandbox URL
security:
- oAuth2Token_SANDBOX: []
- oAuth2Token_PROD: []
tags:
- name: Sales Invoice Push API
paths:
  /subscription/invoice:
    post:
      operationId: invoiceSubscription_POST
      summary: Sales Invoice Push API Subscription
      description: Use this operation to subscribe to Invoice data once shipment invoice is posted by DHL Global Forwarding. Developer can choose to receive a notification message or choose to receive the Sales Invoice data
      tags:
      - Sales Invoice Push API
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoiceSubscription'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoiceSubscription_200_response'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/invoiceSubscription_401_error_response'
        '500':
          description: Internal Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/invoiceSubscription_500_error_response'
      callbacks:
        invoice-notification:
          '{$request.query.callback-url-invoice-notification}':
            post:
              requestBody:
                description: Sales Invoice notification subscription payload.
                content:
                  application/json:
                    schema:
                      $ref: '#/components/schemas/invoiceNotification_message'
              responses:
                '200':
                  description: 'Your server implementation should return this HTTP status code if the data was received successfully '
        invoice-payload:
          '{$request.query.callback-url-invoice-payload}':
            post:
              requestBody:
                description: Sales Invoice subscription payload.
                content:
                  application/json:
                    schema:
                      $ref: '#/components/schemas/invoice_message'
              responses:
                '200':
                  description: 'Your server implementation should return this HTTP status code if the data was received successfully '
components:
  schemas:
    invoiceSubscription:
      properties:
        enable:
          type: boolean
          description: Use this property to enable or disable your subscription
          example: true
          enum:
          - true
          - false
        support-email-address:
          type: string
          description: Your support contact email address in case we need to reach you
          format: email
          example: support@johndoe.com
        callback-url:
          type: string
          format: uri
          description: Your callback URL where DHL will post the invoice data to
          example: https://api.johndoe.com/shipment/invoice
        subscription-type:
          type: string
          description: Specify the type of data to push to your API endpoint e.g. notification message or payload
          example: tracking-notification-v2-purchase-order
          enum:
          - invoice-notification
          - invoice-payload
        http-headers:
          additionalProperties:
            type: string
          minProperties: 0
          maxProperties: 5
          description: Use this to specify the HTTP Headers you want DHL to provide when connecting to your URL e.g. Authorization header or API Key for authentication
          example:
            Content-Type: application/json
            Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
            x-api-key: p7fe80848edde
            x-sender: DHL
    invoice_message:
      type: object
      properties:
        invoiceNumber:
          type: string
          maxLength: 20
          description: Invoice unique identifier
          example: X0000494
        issueDate:
          type: string
          description: ''
          example: 2021-12-09 14:33:00
        paymentTerms:
          type: string
          description: ''
          maxLength: 3
          example: COD
        paymentDays:
          type: string
          description: ''
          example: 0
        paymentDueDate:
          type: string
          description: ''
          example: 2021-12-09 14:33:00
        creatingUserID:
          type: string
          description: ''
          maxLength: 6
          example: JDM
        creatingUserName:
          type: string
          description: ''
          maxLength: 256
          example: Jane M
        invoiceType:
          type: string
          description: ''
          maxLength: 3
          example: INV
        invoiceDebtorAccount:
          type: string
          description: ''
          maxLength: 25
          example: FRGRR001
        localTaxableAmount:
          type: string
          description: ''
          example: 9675.12
        localTaxAmount:
          type: string
          description: ''
          example: 0.0
        localTotalAmount:
          type: string
          description: ''
          example: 9675.12
        localCurrencyCode:
          type: string
          description: ''
          maxLength: 3
          example: EUR
        localToForeignExchangeRate:
          type: string
          description: ''
          example: 1.0
        localToForeignExchangeRateOperator:
          type: string
          description: ''
          example: Divisor
        invoiceTaxableAmount:
          type: string
          description: ''
          example: 9675.12
        invoiceTaxAmount:
          type: string
          description: ''
          example: 0.0
        invoiceTotalAmount:
          type: string
          description: ''
          example: 9675.12
        invoiceCurrencyCode:
          type: string
          description: ''
          maxLength: 3
          example: EUR
        jobNumber:
          type: string
          description: ''
          maxLength: 35
          example: S2100083388
        invoiceDescription:
          type: string
          description: ''
          example: SHAD71138
        paymentReference:
          type: string
          description: ''
          maxLength: 60
          example: FRGRR001/FRGRR001/X0000494
        issuingBranchCode:
          type: string
          description: ''
          maxLength: 3
          example: LEH
        issuingBranchName:
          type: string
          description: ''
          maxLength: 50
          example: DHL Global Forwarding (France) SAS
        issuingDepartmentCode:
          type: string
          description: ''
          maxLength: 3
          example: FFI
        issuingDepartmentName:
          type: string
          description: ''
          maxLength: 35
          example: Forwarding Import Sea FCL
        originalInvoiceNumber:
          type: string
          description: ''
          maxLength: 20
          example: null
        originalJobInvoiceNumber:
          type: string
          description: ''
          maxLength: 35
          example: null
        complianceNumber:
          type: string
          description: ''
          maxLength: 20
          example: null
        complianceSubType:
          type: string
          description: ''
          maxLength: 3
          example: null
        billToParty:
          properties:
            accountNumber:
              type: string
              maxLength: 12
              example: FRGRR001
            name:
              type: string
              maxLength: 200
              description: ''
              example: GROUPE ROCHER OPERATIONS
            address:
              $ref: '#/components/schemas/address'
            contact:
              $ref: '#/components/schemas/contact'
            taxIDs:
              type: array
              items:
                $ref: '#/components/schemas/taxids'
        billingParty:
          properties:
            accountNumber:
              type: string
              maxLength: 12
              example: LEH
            name:
              type: string
              maxLength: 200
              description: ''
              example: DHL GL0BAL FORWARDING (FRANCE) SAS
            address:
              $ref: '#/components/schemas/address'
            contact:
              $ref: '#/components/schemas/contact'
            taxIDs:
              type: array
              items:
                $ref: '#/components/schemas/taxids'
            standardCarrierCode:
              type: string
            remittanceAddress:
              properties:
                name:
                  type: string
                  maxLength: 200
                addressLine1:
                  type: string
                  maxLength: 50
                addressLine2:
                  type: string
                  maxLength: 50
                postalCode:
                  type: string
                  maxLength: 10
                city:
                  type: string
                  maxLength: 50
                stateProvince:
                  type: string
                  maxLength: 25
                countryCode:
                  type: string
                  maxLength: 2
        taxSubtotals:
          type: array
          items:
            properties:
              taxCode:
                type: string
                maxLength: 10
                example: FREETVA
              taxDescription:
                type: string
                maxLength: 35
                example: Zero Rated
              taxType:
                type: string
                maxLength: 3
                example: RAT
              taxRate:
                type: string
                example: 0.0
              extraTaxType:
                type: string
                maxLength: 3
              extraTaxRate:
                type: string
              localTaxableAmount:
                type: string
                example: 9675.12
              localTaxAmount:
                type: string
                example: 0.0
              localExtraTaxAmount:
                type: string
                example: 0.0
              localCurrencyCode:
                type: string
                maxLength: 3
                example: EUR
              invoiceTaxableAmount:
                type: string
                example: 9675.12
              invoiceTaxAmount:
                type: string
                example: 0.0
              invoiceExtraTaxAmount:
                type: string
                example: 0.0
              invoiceCurrencyCode:
                type: string
                maxLength: 3
                example: EUR
        lineItems:
          type: array
          items:
            properties:
              chargeCode:
                type: string
                maxLength: 10
                example: FRT
              chargeCodeDescription:
                type: string
                maxLength: 80
                example: Freight
              chargeDescription:
                type: string
                example: Freight
              chargeAmount:
                type: string
                example: 7650.0
              chargeCurrencyCode:
                type: string
                maxLength: 3
                example: USD
              chargeToLocalExchangeRate:
                type: string
                example: 0.85093
              chargeToLocalExchangeRateOperator:
                type: string
                example: Divisor
              localTaxableAmount:
                type: string
                example: 6509.65
              localTaxAmount:
                type: string
                example: 0.0
              localExtraTaxAmount:
                type: string
                example: 0.0
              localTotalAmount:
                type: string
                example: 6509.65
              localCurrencyCode:
                type: string
                maxLength: 3
                example: EUR
              localToForeignExchangeRate:
                type: string
                example: 1.0
              localToForeignExchangeRateOperator:
                type: string
                example: Divisor
              invoiceTaxableAmount:
                type: string
                example: 6509.65
              invoiceTaxAmount:
                type: string
                example: 0.0
              invoiceExtraTaxAmount:
                type: string
                example: 0.0
              invoiceTotalAmount:
                type: string
                example: 6509.65
              invoiceCurrencyCode:
                type: string
                maxLength: 3
                example: EUR
              taxDetails:
                properties:
                  taxCode:
                    type: string
                    maxLength: 10
                    example: FREETVA
                  taxDescription:
                    type: string
                    maxLength: 35
                    example: Zero Rated
                  taxType:
                    type: string
                    maxLength: 3
                    example: RAT
                  taxRate:
                    type: string
                    example: 0.0
                  extraTaxType:
                    type: string
                    maxLength: 3
                  extraTaxRate:
                    type: string
                  taxMessageCode:
                    type: string
                    maxLength: 10
                    example: FV6
                  taxMessageDescription:
                    type: string
                    example: EXEMPT INTERNATIONAL TRANSPORT VIA CUSTOMS BORDER (IMPORT)
              issuingBranchCode:
                type: string
                maxLength: 3
                example: LEH
              issuingBranchName:
                type: string
                maxLength: 50
                example: DHL Global Forwarding (France) SAS
              issuingDepartmentCode:
                type: string
                maxLength: 3
                example: FFI
              issuingDepartmentName:
                type: string
                maxLength: 35
                example: Forwarding Import Sea FCL
              governmentChargeCod:
                type: string
        shipment:
          properties:
            housebill:
              properties:
                housebillNumber:
                  type: string
                  maxLength: 35
                  example: SHAD71138
                houseFileNumber:
                  type: string
                  maxLength: 35
                  example: S2100083388
                housebillDate:
                  type: string
                  example: 2021-12-09 14:11:58+01:00
                estimatedDepartureDate:
                  type: string
                  example: 2021-11-13 00:00:00+01:00
                estimatedArrivalDate:
                  type: string
                  example: 2021-12-15 21:43:00+01:00
                proofOfDeliveryDate:
                  type: string
                proofOfDeliverySignature:
                  type: string
                originLocationCode:
                  type: string
                  maxLength: 5
                  example: CNSHA
                originLocationName:
                  type: string
                  maxLength: 35
                  example: Shanghai Hongqiao International Apt
                originCountryCode:
                  type: string
                  maxLength: 2
                  description: Origin country code (ISO format)
                  example: CN
                destinationLocationCode:
                  type: string
                  maxLength: 5
                  example: FRLEH
                destinationLocationName:
                  type: string
                  maxLength: 35
                  example: Le Havre
                destinationCountryCode:
                  type: string
                  maxLength: 2
                  description: Destination country code (ISO format)
                  example: FR
                pickupLocationCity:
                  type: string
                  example: SHANGHAI
                deliveryLocationCity:
                  type: string
                  example: VANNES
                totalPackages:
                  type: string
                  example: 4824
                totalWeight:
                  type: string
                  example: 34732.8
                totalWeightUom:
                  type: string
                  maxLength: 3
                  example: KGM
                totalVolume:
                  type: string
                  example: 199.0
                totalVolumeUom:
                  type: string
                  maxLength: 3
                  example: MTQ
                totalCubicWeight:
                  type: string
                  example: 33153.4
                totalCubicWeightUom:
                  type: string
                  maxLength: 3
                  example: KGM
                totalChargeable:
                  type: string
                  example: 199.0
                totalChargeableUom:
                  type: string
                  maxLength: 3
                goodsDescription:
                  type: string
                  example: SAC MORGAN 04/22
                valueOfGoods:
                  type: string
                  example: 0
                valueOfGoodsCurrencyCode:
                  type: string
                  maxLength: 3
                  example: CNY
                modeOfTransport:
                  type: string
                  maxLength: 3
                  example: 1
                shipmentType:
                  type: string
                  maxLength: 3
                  example: 3
                serviceCode:
                  type: string
                  example: AA9
                serviceLevelCode:
                  type: string
                  example: AEC
                  maxLength: 3
                serviceLevelDescription:
                  type: string
                  example: DHL AIR ECONOMY
                incoterms:
                  type: string
                  maxLength: 3
                  example: FOB
                incotermsLocation:
                  type: string
                  maxLength: 35
                  example: FOB
                numberOfContainers:
                  type: string
                  example: 3
                numberOfBLOriginalDocuments:
                  type: string
                  example: 0
                numberOfBLCopyDocuments:
                  type: string
                  example: 1
            masterbill:
              properties:
                masterbillNumber:
                  type: string
                  maxLength: 35
                  example: CNDZ535983
                masterFileNumber:
                  type: string
                  maxLength: 35
                  example: C2100022972
                vesselName:
                  type: string
                  maxLength: 35
                  example: CMA CGM RIGOLETTO
                vesselLloydsNumber:
                  type: string
                  maxLength: 7
                  example: 9299654
                voyageFlightNumber:
                  type: string
                  maxLength: 10
                  example: 0FLARW1MA
                bookingReference:
                  type: string
                  example: CNDZ535983
                estimatedDepartureDate:
                  type: string
                  example: 2021-11-13 00:00:00+01:00
                estimatedArrivalDate:
                  type: string
                  example: 2021-12-15 21:43:00+01:00
                actualDepartureDate:
                  type: string
                  example: 2021-11-15 10:59:00+01:00
                actualArrivalDate:
                  type: string
                  example: 2021-12-15 21:57:00+01:00
                placeOfAcceptanceLocationCode:
                  type: string
                  maxLength: 5
                  description: Place of acceptance port code (UNLOCODE format)
                  example: CNSHA
                placeOfAcceptanceLocationName:
                  type: string
                  maxLength: 35
                  description: Place of acceptance name
                  example: Shanghai Hongqiao International Apt
                placeOfAcceptanceCountryCode:
                  type: string
                  maxLength: 2
                  description: Place of acceptance country code (ISO format)
                  example: CN
                portOfLoadingLocationCode:
                  type: string
                  maxLength: 5
                  description: Loading port code (UNLOCODE format)
                  example: CNSHA
                portOfLoadingLocationName:
                  type: string
                  maxLength: 35
                  description: Loading port name
                  example: Shanghai Hongqiao International Apt
                portOfLoadingCountryCode:
                  type: string
                  maxLength: 2
                  description: Loading port country code (ISO format)
                  example: CN
                portOfUnloadingLocationCode:
                  type: string
                  maxLength: 5
                  description: Discharge port code (UNLOCODE format)
                  example: FRLEH
                portOfUnloadingLocationName:
                  type: string
                  maxLength: 35
                  description: Discharge port name
                  example: Le Havre
                portOfUnloadingCountryCode:
                  type: string
                  maxLength: 2
                  description: Discharge port country code (ISO format)
                  example: FR
                placeOfDeliveryLocationCode:
                  type: string
                  maxLength: 5
                  description: Place of delivery code (UNLOCODE format)
                  example: FRLEH
                placeOfDeliveryLocationName:
                  type: string
                  maxLength: 35
                  description: Place of delivery name
                  example: Le Havre
                placeOfDeliveryCountryCode:
                  type: string
                  maxLength: 2
                  description: Place of delivery country code (ISO format)
                  example: FR
            shipper:
              properties:
                accountNumber:
                  type: string
                  maxLength: 12
                  description: Shipper account number
                  example: CNMEM001
                name:
                  type: string
                  maxLength: 200
                  description: Shipper company name
                  example: Metso Minerals (Tianjin) Internatio
                address:
                  $ref: '#/components/schemas/address'
            consignee:
              properties:
                accountNumber:
                  type: string
                  maxLength: 12
                  description: Consignee account number
                  example: FRGRR001
                name:
                  type: string
                  maxLength: 200
                  description: Consignee company name
                  example: GROUPE ROCHER OPERATIONS
                address:
                  $ref: '#/components/schemas/address'
            carrier:
              properties:
                name:
                  type: string
                  maxLength: 200
                  description: Carrier company name
                  example: C.M.A (UK) LTD
                address:
                  $ref: '#/components/schemas/address'
                standardCarrierCode:
                  type: string
            transportUnits:
              type: array
              items:
                type: object
                properties:
                  transportUnitID:
                    type: string
                    maxLength: 20
                    example: CARU9944252
                  transportUnitType:
                    type: string
                    maxLength: 10
                    example: 45G0
                  grossWeight:
                    type: string
                    example: 15557.6
                  grossWeightUom:
                    type: string
                    maxLength: 3
                    example: KGM
                  dimensions:
                    properties:
                      dimensionsUom:
                        type: string
                        maxLength: 3
                        example: FOT
                      length:
                        type: string
                        example: 40.0
                      width:
                        type: string
                        example: 8.0
                      height:
                        type: string
                        example: 9.5
                  sealNumber:
                    type: string
                    maxLength: 20
                  seal2Number:
                    type: string
                    maxLength: 20
                  seal3Number:
                    type: string
                    maxLength: 20
                  proofOfDeliveryDate:
                    type: string
                  proofOfDeliverySignature:
                    type: string
            references:
              type: array
              items:
                properties:
                  type:
                    type: string
                    maxLength: 3
                    example: CLT
                  description:
                    type: string
                    maxLength: 35
                    example: Client Ref
                  number:
                    type: string
                    maxLength: 35
                    example: 20211022040627436911
    invoiceNotification_message:
      type: object
      properties:
        type:
          type: string
          description: The business object type the invoice notification message is for
          example: sales-invoice
          enum:
          - sales-invoice
        invoiceNumber:
          type: string
          description: Invoice unique identifier
          example: X0000494
        issueDate:
          type: string
          description: Invoice issuing date
          example: 2021-04-09 14:33:00
        paymentDueDate:
          type: string
          description: Invoice payment due date
          example: 2021-12-09 14:33:00
        url:
          type: string
          description: The link to retrieve the invoice's full information
          example: https://api.dhl.com/dgff/transportation/sales-invoice/68dc1075-b90a-47e1-94d4-28f2b1899b59
    contact:
      properties:
        name:
          type: string
          example: M Jane
        phone:
          type: string
          maxLength: 20
          example: '+33111111111'
        email:
          type: string
          maxLength: 20
          example: jane.m@test.com
        fax:
          type: string
          maxLength: 20
          example: '+33111111111'
    invoiceSubscription_500_error_response:
      properties:
        status:
          type: integer
          example: 500
        title:
          type: string
          example: Internal Server Error
        detail:
          type: string
          description: Error details
          example: The server encountered an unexpected condition that prevented it from fulfilling the request. Please try again later
        api-correlation-id:
          type: string
          example: bcf621d5-250d-49b5-a4a0-521cf7a120f0
    taxids:
      properties:
        taxID:
          type: string
          example: '11111111111'
        countryCode:
          type: string
          maxLength: 2
          description: Country code (ISO format)
          example: FR
    invoiceSubscription_401_error_response:
      properties:
        status:
          type: integer
          example: 401
        title:
          type: string
          example: Unauthorized
        detail:
          type: string
          description: Error details
          example: Expired Access Token
        api-correlation-id:
          type: string
          example: bcf621d5-250d-49b5-a4a0-521cf7a120f0
    address:
      properties:
        addressLine1:
          type: string
          maxLength: 50
          example: TSA 91478
        addressLine2:
          type: string
          maxLength: 50
          example: ''
        postalCode:
          type: string
          maxLength: 10
          example: '56977'
        city:
          type: string
          maxLength: 50
          example: VANNES
        stateProvince:
          type: string
          maxLength: 25
          example: ''
        countryCode:
          type: string
          maxLength: 2
          description: Country code (ISO format)
          example: FR
    invoiceSubscription_200_response:
      properties:
        status:
          type: integer
          example: 200
        title:
          type: string
          example: OK
        detail:
          type: string
          description: Status of your subscription
          enum:
          - Push Notification Updated(Enabled)
          - Push Notification Updated(Disabled)
        api-correlation-id:
          type: string
          example: bcf621d5-250d-49b5-a4a0-521cf7a120f0
  securitySchemes:
    oAuth2Token_PROD:
      type: oauth2
      description: Production URL
      flows:
        clientCredentials:
          tokenUrl: https://api.dhl.com/auth/v1/token?response_type=access_token&grant_type=client_credentials
          scopes:
            pushAPI: ''
    oAuth2Token_SANDBOX:
      type: oauth2
      description: Sandbox URL
      flows:
        clientCredentials:
          tokenUrl: https://api-sandbox.dhl.com/auth/v1/token?response_type=access_token&grant_type=client_credentials
          scopes:
            pushAPI: ''