ECI Einvoice API

Electronic invoicing integration with the Avalara E-Invoicing & Live Reporting system: documents, input fields and country mandates, for ECI customers subject to statutory e-invoicing regimes.

Operations 7

GET /api/v1/documents Get a list of documents. #
POST /api/v1/documents Submit data for an invoice. #
POST /api/v1/documents/credit-note Submit data for a credit note. #
GET /api/v1/documents/{documentId} Get a single document by Id. #
GET /api/v1/documents/{documentId}/download Get a single document by Id and type. #
GET /api/v1/input-fields Get a list of input fields, optionally filtered by a single mandate name. #
GET /api/v1/mandates Get a list of country mandates, optionally filtered by a single mandate name. #

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/eci-solutions-einvoice"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

eci-solutions-einvoice-openapi.json Raw ↑
{
  "openapi": "3.0.1",
  "info": {
    "title": "Einvoice.API",
    "version": "1.0"
  },
  "paths": {
    "/api/v1/documents": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Get a list of documents.",
        "operationId": "GetDocuments",
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "description": "The start date to filter documents by processing date",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "The end date to filter documents by processing date",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "take",
            "in": "query",
            "description": "The maximum number of documents to return. Default: 500. Minimum: 1. Maximum: 500.",
            "schema": {
              "maximum": 500,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "default": 500
            }
          },
          {
            "name": "skip",
            "in": "query",
            "description": "The number of documents to skip. Use for paging to retrieve further batches of documents. Default: 0. Minimum: 0.",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDocumentResponseListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDocumentResponseListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDocumentResponseListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Document"
        ],
        "summary": "Submit data for an invoice.",
        "operationId": "PostInvoiceDocument",
        "parameters": [
          {
            "name": "mandateName",
            "in": "query",
            "description": "The mandate name for which this invoice document is being submitted",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The invoice document to submit",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EinvoiceInvoiceDocumentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EinvoiceInvoiceDocumentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EinvoiceInvoiceDocumentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoicePostDocumentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoicePostDocumentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoicePostDocumentResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/documents/credit-note": {
      "post": {
        "tags": [
          "Document"
        ],
        "summary": "Submit data for a credit note.",
        "operationId": "PostCreditNoteDocument",
        "parameters": [
          {
            "name": "mandateName",
            "in": "query",
            "description": "The mandate name for which this credit note document is being submitted",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The credit note document to submit",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EinvoiceCreditNoteDocumentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EinvoiceCreditNoteDocumentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EinvoiceCreditNoteDocumentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoicePostDocumentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoicePostDocumentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoicePostDocumentResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/documents/{documentId}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Get a single document by Id.",
        "operationId": "GetDocument",
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "description": "The unique Id of the document.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDocumentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDocumentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDocumentResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/documents/{documentId}/download": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Get a single document by Id and type.",
        "operationId": "GetDocumentByIdWithDownloadType",
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "description": "The unique Id of the document.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Document type.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDownloadDocumentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDownloadDocumentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetDownloadDocumentResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/input-fields": {
      "get": {
        "tags": [
          "InputField"
        ],
        "summary": "Get a list of input fields, optionally filtered by a single mandate name.",
        "operationId": "ListInputFields",
        "parameters": [
          {
            "name": "mandateName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetInputFieldResponseListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetInputFieldResponseListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetInputFieldResponseListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mandates": {
      "get": {
        "tags": [
          "Mandate"
        ],
        "summary": "Get a list of country mandates, optionally filtered by a single mandate name.",
        "operationId": "ListMandates",
        "parameters": [
          {
            "name": "mandateName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetMandateResponseListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetMandateResponseListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EinvoiceGetMandateResponseListResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EinvoiceCreditNoteDocumentRequest": {
        "required": [
          "creditNote"
        ],
        "type": "object",
        "properties": {
          "creditNote": {
            "$ref": "#/components/schemas/UblCreditNote"
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetDocumentEventResponse": {
        "type": "object",
        "properties": {
          "eventDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "additionalDetailKey": {
            "type": "string",
            "nullable": true
          },
          "additionalDetailValue": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetDocumentResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "supplierName": {
            "type": "string",
            "nullable": true
          },
          "documentNumber": {
            "type": "string",
            "nullable": true
          },
          "documentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "processDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "flowDirection": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "mandateName": {
            "type": "string",
            "nullable": true
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EinvoiceGetDocumentEventResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetDocumentResponseListResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EinvoiceGetDocumentResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetDownloadDocumentResponse": {
        "type": "object",
        "properties": {
          "metaData": {
            "$ref": "#/components/schemas/Metadata"
          },
          "documentData": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetInputFieldResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "documentationLink": {
            "type": "string",
            "nullable": true
          },
          "fieldName": {
            "type": "string",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "mandates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldMandate"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetInputFieldResponseListResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EinvoiceGetInputFieldResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetMandateResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "mandateName": {
            "type": "string",
            "nullable": true
          },
          "mandateDescription": {
            "type": "string",
            "nullable": true
          },
          "documentDownloadTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceGetMandateResponseListResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EinvoiceGetMandateResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EinvoiceInvoiceDocumentRequest": {
        "required": [
          "invoice"
        ],
        "type": "object",
        "properties": {
          "invoice": {
            "$ref": "#/components/schemas/UblInvoice"
          }
        },
        "additionalProperties": false
      },
      "EinvoicePostDocumentResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FieldMandate": {
        "type": "object",
        "properties": {
          "mandateName": {
            "type": "string",
            "nullable": true
          },
          "validationLevel": {
            "$ref": "#/components/schemas/FieldMandateValidationLevel"
          },
          "validationLevelDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FieldMandateValidationLevel": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "Metadata": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "isBase64Encoded": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "UblCreditNote": {
        "type": "object",
        "properties": {
          "customizationID": {
            "type": "string",
            "description": "* Default: \"urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0\"",
            "nullable": true
          },
          "profileID": {
            "type": "string",
            "description": "* Default: \"urn:fdc:peppol.eu:2017:poacc:billing:01:1.0\"",
            "nullable": true
          },
          "ublVersionID": {
            "type": "string",
            "description": "UBL Version: The version of the Universal Business Language used for the document.\r\n* Default: \"2.1\"",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "Credit Note number: A unique identification of the Credit Note.\r\n* Maps to: CreditNote/cbc:ID",
            "nullable": true
          },
          "uuid": {
            "type": "string",
            "description": "Unique identifier: A universally unique identifier for an instance of this document.\r\n* Maps to: CreditNote/cbc:UUID",
            "nullable": true
          },
          "issueDate": {
            "type": "string",
            "description": "Invoice issue date: The date when the Invoice was issued.\r\n* Maps to: CreditNote/cbc:IssueDate",
            "format": "date-time",
            "nullable": true
          },
          "issueTime": {
            "pattern": "^\\d{1,2}:\\d{2}:\\d{2}$",
            "type": "string",
            "description": "Invoice issue time: The time when the Invoice was issued.\r\n* Default: \"00:00:00\"\r\n* Maps to: CreditNote/cbc:IssueTime",
            "nullable": true
          },
          "creditNoteTypeCode": {
            "type": "string",
            "description": "Credit Note type code: A code specifying the type of the Credit Note. See: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1001-cn/.\r\n* Maps to: CreditNote/cbc:CreditNoteTypeCode",
            "nullable": true
          },
          "creditNoteTypeCodeListVersionID": {
            "type": "string",
            "description": "Credit Note type code list version ID\r\n* Maps to: CreditNote/cbc:CreditNoteTypeCode/@listVersionID",
            "nullable": true
          },
          "note": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Document note: A textual note that gives unstructured information that is relevant to the Document. Maps to:\r\n* CreditNote/cbc:Note",
            "nullable": true
          },
          "taxPointDate": {
            "type": "string",
            "description": "Value added tax point date: The date when the VAT becomes accountable for the Seller and for the Buyer if different from the issue date. Maps to:\r\n* CreditNote/cbc:TaxPointDate",
            "format": "date-time",
            "nullable": true
          },
          "documentCurrencyCode": {
            "type": "string",
            "description": "Document currency code: The currency in which all document amounts are given, except for the Total VAT amount in accounting currency. Maps to:\r\n* CreditNote/cbc:DocumentCurrencyCode",
            "nullable": true
          },
          "taxCurrencyCode": {
            "type": "string",
            "description": "VAT accounting currency code: The currency used for VAT accounting and reporting purposes. Maps to:\r\n* CreditNote/cbc:TaxCurrencyCode",
            "nullable": true
          },
          "pricingCurrencyCode": {
            "type": "string",
            "description": "Pricing currency code: A code signifying the currency used for prices in the Invoice. Maps to:\r\n* CreditNote/cbc:PricingCurrencyCode",
            "nullable": true
          },
          "paymentCurrencyCode": {
            "type": "string",
            "description": "Payment currency code: A code signifying the currency used for payment in the Invoice. Maps to:\r\n* CreditNote/cbc:PaymentCurrencyCode",
            "nullable": true
          },
          "accountingCost": {
            "type": "string",
            "description": "Buyer accounting reference: A textual value that specifies where to book the relevant data into the Buyer's financial accounts. Maps to:\r\n* CreditNote/cbc:AccountingCost",
            "nullable": true
          },
          "buyerReference": {
            "type": "string",
            "description": "Buyer Reference: An identifier assigned by the Buyer used for internal routing purposes. Maps to:\r\n* CreditNote/cbc:BuyerReference",
            "nullable": true
          },
          "invoicePeriod": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoicePeriod"
            },
            "description": "Document period.\r\n* Maps to: CreditNote/cac:InvoicePeriod",
            "nullable": true
          },
          "orderReference": {
            "$ref": "#/components/schemas/UblInvoiceOrder"
          },
          "billingReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceBilling"
            },
            "description": "Previous billing information. Maps to:\r\n* CreditNote/cac:BillingReference",
            "nullable": true
          },
          "despatchDocumentReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceDespatchDocument"
            },
            "description": "Despatch advice document information. Maps to:\r\n* CreditNote/cac:DespatchDocumentReference",
            "nullable": true
          },
          "receiptDocumentReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceReceiptDocument"
            },
            "description": "Receiving advice document information. Maps to:\r\n* CreditNote/cac:ReceiptDocumentReference",
            "nullable": true
          },
          "originatorDocumentReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceOriginatorDocument"
            },
            "description": "Originator document information. Maps to:\r\n* CreditNote/cac:OriginatorDocumentReference",
            "nullable": true
          },
          "contractDocumentReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceContractDocument"
            },
            "description": "Contract document information. Maps to:\r\n* CreditNote/cac:ContractDocumentReference",
            "nullable": true
          },
          "additionalDocumentReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceAdditionalDocument"
            },
            "description": "Supporting document information. Maps to:\r\n* CreditNote/cac:AdditionalDocumentReference",
            "nullable": true
          },
          "accountingSupplierParty": {
            "$ref": "#/components/schemas/UblInvoiceSupplier"
          },
          "accountingCustomerParty": {
            "$ref": "#/components/schemas/UblInvoiceCustomer"
          },
          "payeeParty": {
            "$ref": "#/components/schemas/UblInvoicePayee"
          },
          "taxRepresentativeParty": {
            "$ref": "#/components/schemas/UblInvoiceTaxRepresentative"
          },
          "delivery": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceDelivery"
            },
            "description": "Deliver to information.\r\n* Maps to: CreditNote/cac:Delivery",
            "nullable": true
          },
          "paymentMeans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoicePaymentMeans"
            },
            "description": "Payment means information.\r\n* Maps to: CreditNote/cac:PaymentMeans",
            "nullable": true
          },
          "paymentTerms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoicePaymentTerms"
            },
            "description": "Payment terms information.\r\n* Maps to: CreditNote/cac:PaymentTerms",
            "nullable": true
          },
          "allowanceCharge": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceAllowanceCharge"
            },
            "description": "Allowance or charge information.\r\n* Maps to: CreditNote/cac:AllowanceCharge",
            "nullable": true
          },
          "taxExchangeRate": {
            "$ref": "#/components/schemas/UblInvoiceTaxExchangeRate"
          },
          "taxTotal": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceTaxTotal"
            },
            "description": "Information about the total tax for the document.\r\n* Maps to: CreditNote/cac:TaxTotal",
            "nullable": true
          },
          "legalMonetaryTotal": {
            "$ref": "#/components/schemas/UblInvoiceLegalMonetaryTotal"
          },
          "creditNoteLine": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblCreditNoteLine"
            },
            "description": "Credit Note line information.\r\n* Maps to: CreditNote/cac:InvoiceLine",
            "nullable": true
          },
          "ublExtensions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceExtension"
            },
            "description": "[NOT YET IMPLEMENTED] Invoice UBL Extension information.\r\n* Maps to: CreditNote/cec:UBLExtensions",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UblCreditNoteLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Document line identifier: A unique identifier for the individual line within the Document.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cbc:ID",
            "nullable": true
          },
          "note": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Document line note: A textual note that gives unstructured information that is relevant to the Document line.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cbc:Note",
            "nullable": true
          },
          "creditedQuantity": {
            "type": "number",
            "description": "Quantity: The quantity of items (goods or services) that is charged in the Document line.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cbc:CreditedQuantity",
            "format": "double",
            "nullable": true
          },
          "creditedQuantityUnitCode": {
            "type": "string",
            "description": "Quantity unit of measure: The unit of measure that applies to the invoiced quantity. See: https://docs.peppol.eu/poacc/billing/3.0/codelist/UNECERec20/.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cbc:CreditedQuantity/@unitCode",
            "nullable": true
          },
          "lineExtensionAmount": {
            "type": "number",
            "description": "Document line net amount: The total amount of the Document line. The amount is \"net\" without VAT. Provide value according to document currency code.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cbc:LineExtensionAmount",
            "format": "double",
            "nullable": true
          },
          "accountingCost": {
            "type": "string",
            "description": "Document line Buyer accounting reference: A textual value that specifies where to book the relevant data into the Buyer's financial accounts.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cbc:AccountingCost",
            "nullable": true
          },
          "invoicePeriod": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceLinePeriod"
            },
            "description": "Document line period information.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cac:InvoicePeriod",
            "nullable": true
          },
          "orderLineReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceLineOrderLineReference"
            },
            "description": "Referenced purchase order line information.\r\n* Maps to: CreditNote/cac:CreditNoteLine/cac:OrderLineReference",
            "nullable": true
          },
          "documentReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UblInvoiceLineDocument"
            },
            "description": "Document line object information.\r\n* Maps to: Cre

# --- truncated at 32 KB (120 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/eci-solutions/refs/heads/main/openapi/eci-solutions-einvoice-openapi.json