> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the e-invoice filing of an invoice

> Return the e-invoice filing of the invoice with this number. Needs the invoice view permission. Without the e-invoicing subscription, the route answers 402 unless DualEntry filed the invoice. It answers 402 before it checks the permission.



## OpenAPI

````yaml /developers/openapi/resources-v3-alpha.json get /public/v3-alpha/e-invoicing/invoices/{number}/
openapi: 3.1.0
info:
  title: DualEntry Public API
  version: 3.0.0-alpha
  description: ''
servers:
  - url: https://api.dualentry.com
    description: Production environment
security: []
tags:
  - name: Health
    description: >-
      Monitor API availability and service status. Use these endpoints to verify
      connectivity and check if the API is operational.
  - name: Webhooks
    description: >-
      Register webhook endpoints to receive real-time event notifications when
      records change in your organization. Manage subscriptions, view available
      topics, and inspect delivery history. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
  - name: Accounts
    description: >-
      Manage your chart of accounts. Create and maintain the accounts used to
      categorize financial transactions, including assets, liabilities, equity,
      revenue, and expenses. If your organization connects an integration that
      syncs this resource with a third-party system, a change you make here can
      also be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Reporting
    description: >-
      Read account balances for one company as of a date, equivalent to a Trial
      Balance report. Balance-sheet accounts report through the date;
      income-statement accounts report from the start of the fiscal year.
  - name: Budgets
    description: >-
      Read income statement and balance sheet budget settings. Monthly cell
      values, actuals comparisons, and accounts are available through separate
      budget routes.
  - name: Companies
    description: >-
      Access and manage company information. Retrieve details about your
      organization including legal name, tax identifiers, addresses, and
      accounting preferences. If your organization connects an integration that
      syncs this resource with a third-party system, a change you make here can
      also be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Period Locks
    description: >-
      Period locks for bills, invoices, other ledger activity, non-ledger
      records, and tax schedules. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Payment Methods
    description: >-
      List payment methods. Filter by id to resolve payment_method_id on a
      payment record. V2 API only.
  - name: Customers
    description: >-
      Manage customer records. Create, update, and track customers who purchase
      goods or services from your organization, including contact information,
      billing addresses, and payment terms. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
  - name: Contracts
    description: >-
      Manage revenue recognition contracts. Create, retrieve, and update
      contracts with performance obligations, manage obligation usage, and
      create change orders (v2). If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Items
    description: >-
      Manage products and services. Define items that appear on invoices and
      bills, including pricing, descriptions, and associated accounts for
      revenue or expense tracking. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Vendors
    description: >-
      Manage vendor and supplier records. Track businesses and individuals from
      whom you purchase goods or services, including contact details, payment
      terms, and tax information. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Journal Entries
    description: >-
      Create and manage manual journal entries. Create and update post a general
      ledger transaction. A reversal date posts a reversing transaction. Book
      ids assign accounting books. An aging reason on an accounts receivable or
      accounts payable line excludes that line from aging. The save can link a
      related journal entry and an accrual template. If your organization
      connects an integration that syncs this resource with a third-party
      system, a change you make here can also be applied in that system,
      immediately or on a later sync. See the documentation for each integration
      for details.
  - name: Invoices
    description: >-
      Manage sales invoices. Create and track invoices sent to customers for
      goods or services rendered, including line items, taxes, discounts, and
      payment status. If your organization connects an integration that syncs
      this resource with a third-party system, a change you make here can also
      be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Quotes
    description: >-
      Create, submit, and send CPQ quotes, with line billing frequencies,
      multi-year ramps, recipients and signing order, and totals by billing
      frequency. Requires the CPQ subscription. Save a quote with
      `record_status` `posted` to submit it for approval; approvers approve or
      reject it in DualEntry. The API does not render quote PDFs. If your
      organization connects an integration that syncs this resource with a
      third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: Sales Orders
    description: >-
      Create and manage sales orders. Track customer orders for goods or
      services before invoicing, including line items, quantities, fulfillment
      status, and invoicing progress. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
  - name: Bills
    description: >-
      Manage vendor bills and payables. Record and track bills received from
      vendors for goods or services purchased, including line items, due dates,
      and payment tracking. If your organization connects an integration that
      syncs this resource with a third-party system, a change you make here can
      also be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Customer Prepayments
    description: >-
      Track advance payments from customers. Access prepayments received before
      goods or services are delivered, which can be applied to future invoices.
      If your organization connects an integration that syncs this resource with
      a third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: Customer Prepayment Applications
    description: >-
      Apply customer prepayments and credits to invoices. Record applications of
      prepayments or credit memos to reduce invoice balances. If your
      organization connects an integration that syncs this resource with a
      third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: Customer Deposits
    description: >-
      Manage customer deposit transactions. Record and track deposits received
      from customers as security or partial payment, held in liability accounts
      until earned or refunded. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Customer Refunds
    description: >-
      Process and track customer refunds. Record refunds issued to customers for
      overpayments, returns, or cancelled transactions. If your organization
      connects an integration that syncs this resource with a third-party
      system, a change you make here can also be applied in that system,
      immediately or on a later sync. See the documentation for each integration
      for details.
  - name: Customer Credits
    description: >-
      Manage credit memos for customers. Issue credits for returned goods,
      billing adjustments, or discounts that reduce customer balances or can be
      applied to future invoices. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Cash Sales
    description: >-
      Record immediate cash sales transactions. Track sales where payment is
      received at the time of sale, including point-of-sale transactions and
      cash receipts. If your organization connects an integration that syncs
      this resource with a third-party system, a change you make here can also
      be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Customer Payments
    description: >-
      Record and manage customer payments. Track payments received from
      customers and apply them to outstanding invoices, including partial
      payments and overpayments. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Recurring Invoices
    description: >-
      Automate recurring billing. Set up and manage templates for invoices that
      are automatically generated on a regular schedule (e.g., monthly
      subscriptions). If your organization connects an integration that syncs
      this resource with a third-party system, a change you make here can also
      be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Recurring Bills
    description: >-
      Automate recurring expenses. Configure templates for bills that repeat on
      a regular basis (e.g., monthly rent, subscriptions) to streamline expense
      tracking. If your organization connects an integration that syncs this
      resource with a third-party system, a change you make here can also be
      applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Recurring Journal Entries
    description: >-
      Automate recurring journal entries. Create templates for journal entries
      that occur regularly (e.g., monthly depreciation, amortization) to ensure
      consistent accounting treatment. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
  - name: Classifications
    description: >-
      Manage custom classification dimensions. Create and maintain
      classification categories (e.g., departments, locations, projects) used to
      tag and analyze transactions across multiple dimensions. If your
      organization connects an integration that syncs this resource with a
      third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: Classifications Lines
    description: >-
      Manage classification values. Define the specific values within each
      classification category that can be assigned to transaction line items for
      detailed reporting and analysis. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
  - name: Custom Fields
    description: >-
      Manage custom field definitions. Extend records with organization-specific
      attributes — name, type (text, number, boolean, date, single_select,
      multi_select, currency, link, paragraph), default value, options, and
      which record types (invoice, bill, customer, vendor, etc.) and companies
      the field applies to. Values are set via the `custom_fields` attribute on
      each record's create/update endpoint. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
  - name: Purchase Orders
    description: >-
      Create and track purchase orders. Manage formal requests to vendors for
      goods or services, including approval workflows, receiving tracking, and
      bill matching. If your organization connects an integration that syncs
      this resource with a third-party system, a change you make here can also
      be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Vendor Payments
    description: >-
      Record vendor payments and apply them to bills, vendor credits, and
      journal entry lines. Create and update post a general ledger transaction.
      The save also computes realized, rounding, and matching gain or loss. Send
      attachments to replace the file list. PATCH changes only the sent fields.
      POST /{number}/attachments/ adds files and keeps existing files. If your
      organization connects an integration that syncs this resource with a
      third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: Vendor Prepayments
    description: >-
      Track advance payments to vendors. Record prepayments made before goods or
      services are received, which can be applied to future bills. If your
      organization connects an integration that syncs this resource with a
      third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: Vendor Prepayment Applications
    description: >-
      Apply vendor prepayments to bills. Record applications of prepayments to
      reduce bill balances and track amounts owed. If your organization connects
      an integration that syncs this resource with a third-party system, a
      change you make here can also be applied in that system, immediately or on
      a later sync. See the documentation for each integration for details.
  - name: Vendor Credits
    description: >-
      Manage vendor credit memos. Record credits from vendors for returned
      goods, billing adjustments, or discounts that reduce amounts owed or can
      be applied to future bills. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Vendor Refunds
    description: >-
      Process and track vendor refunds. Record refunds received from vendors for
      overpayments, returns, or cancelled transactions. If your organization
      connects an integration that syncs this resource with a third-party
      system, a change you make here can also be applied in that system,
      immediately or on a later sync. See the documentation for each integration
      for details.
  - name: Paper Checks
    description: >-
      Manage paper check printing. Create, queue, and batch print paper checks
      for vendor payments, direct expenses, vendor prepayments, and customer
      refunds. If your organization connects an integration that syncs this
      resource with a third-party system, a change you make here can also be
      applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Direct Expenses
    description: >-
      Record direct expense transactions. Track payments made directly from a
      bank or credit card account for expenses, without going through the
      accounts payable process. If your organization connects an integration
      that syncs this resource with a third-party system, a change you make here
      can also be applied in that system, immediately or on a later sync. See
      the documentation for each integration for details.
  - name: Bank Transfers
    description: >-
      Manage bank-to-bank transfers. Record and track transfers between bank and
      credit card accounts, including multi-currency transfers with exchange
      rate handling. If your organization connects an integration that syncs
      this resource with a third-party system, a change you make here can also
      be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Bank Match
    description: >-
      Reconcile bank-feed rows against accounting transactions. List bank rows,
      trigger the matching pipeline, read AI suggestions, and confirm or undo
      matches. V2 API only. If your organization connects an integration that
      syncs this resource with a third-party system, a change you make here can
      also be applied in that system, immediately or on a later sync. See the
      documentation for each integration for details.
  - name: Bank Connections
    description: >-
      Register and list customer-built inbound bank connection feeds. Create
      connections and accounts with `customer_api` as `source_type`, then push
      transactions separately. V2 API only. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
  - name: Fixed Assets
    description: >-
      Manage fixed assets and capital equipment. Create, update, and track
      long-lived tangible assets including depreciation schedules, account
      assignments, and asset lifecycle management. If your organization connects
      an integration that syncs this resource with a third-party system, a
      change you make here can also be applied in that system, immediately or on
      a later sync. See the documentation for each integration for details.
  - name: Fixed Asset Classes
    description: List fixed asset classes used to set fixed_asset_class_id on an asset.
  - name: Intercompany Journal Entries
    description: >-
      Create and manage intercompany journal entries. Record GL activity that
      spans two or more companies within the same organization, with per-line
      company assignment and automatic intercompany elimination. If your
      organization connects an integration that syncs this resource with a
      third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: Depreciation Books
    description: >-
      Discover available depreciation books for multi-book depreciation. Each
      organization has a posting book (BOOK) and may have additional tax books
      (FEDERAL, AMT, STATE_*). V2 API only.
  - name: VAT Rates
    description: >-
      Look up available VAT (Value Added Tax) rates for your organization. Use
      these IDs as `vat_rate_id` on transaction line items. Rates are scoped by
      country and include standard, reduced, zero-rated, exempt, and reverse
      charge types. V2 API only.
  - name: GST Tax Rates
    description: >-
      Look up available GST (Goods and Services Tax) rates for your
      organization. Use these IDs as `gst_tax_rate_id` on transaction line
      items. Covers AU, NZ, SG, IN, CA GST regimes and MY SST, with
      per-component breakdowns (e.g. CGST+SGST for India). V2 API only.
  - name: Product Tax Codes
    description: >-
      Manage organization product tax codes and discover global product tax
      codes. Use these IDs as `product_tax_code_id` on item payloads. V2 API
      only.
  - name: Approval Policies
    description: >-
      Manage approval workflows and policies. Define approval rules, steps,
      conditions, and approvers for different record types. Monitor workflow
      execution states and view approval history. If your organization connects
      an integration that syncs this resource with a third-party system, a
      change you make here can also be applied in that system, immediately or on
      a later sync. See the documentation for each integration for details.
  - name: Inbox
    description: >-
      View pending approvals and approval status. Access transactions and
      records awaiting approval across the organization, including full approval
      workflow details, approvers, and action history. If your organization
      connects an integration that syncs this resource with a third-party
      system, a change you make here can also be applied in that system,
      immediately or on a later sync. See the documentation for each integration
      for details.
  - name: Statistical Journals
    description: >-
      Record non-monetary quantity values, such as headcount or square footage.
      Statistical journals never post to the general ledger. If your
      organization connects an integration that syncs this resource with a
      third-party system, a change you make here can also be applied in that
      system, immediately or on a later sync. See the documentation for each
      integration for details.
  - name: E-invoicing
    description: >-
      Read the e-invoicing settings of the organization, the registrations of
      its companies, and the e-invoice filing of an invoice or a customer credit
      with its events and legal files. Retry a failed filing, refresh a started
      one, check a customer before a post, and set the e-invoicing identifiers
      of a customer. The settings, the registrations and the company identifiers
      are read-only: change them in the DualEntry app.


      **Subscription.** Every route except the status route needs the
      e-invoicing subscription. Without it, the route answers 402 before it
      checks the permission. The filing, its legal files and the send rules of a
      record that DualEntry filed still answer after the subscription ends. An
      organization without the subscription posts, sends and archives invoices
      as before.


      **Permissions.** The settings, the registrations and the event list need
      `e_invoicing:view`. The filing of a record follows the permission of its
      record: `invoice:view` or `customer_credit:view` to read it,
      `invoice:edit` or `customer_credit:edit` to retry it. The identifiers need
      `e_invoicing:view` with `customer:view` or `vendor:view` to read, and
      `e_invoicing:edit` with `customer:edit` to write, as in the app. A key
      that the CLI sign-in made reaches only the companies of its user.


      **Error codes.** A refused e-invoicing request carries a stable
      `error_code`: `e_invoicing_send_held` (the authority must clear the
      invoice before the customer gets it), `e_invoicing_legal_pdf_missing` (the
      authority PDF is not stored yet), `e_invoicing_validation` (the authority
      refuses the document data), `e_invoicing_setup` (the setup of the country
      is broken), `e_invoicing_engine` (the e-invoicing engine did not answer or
      refused the request), `e_invoicing_not_retryable` (the filing is not
      failed or rejected), or `e_invoicing_error` (any other refusal). A record
      save that e-invoicing refuses, such as a change of a cleared invoice,
      answers 422 with the reason under the `e_invoicing` key. Not in v1.
  - name: Data Exports
    description: >-
      Request off-cycle refreshes of your organization's data export to its
      configured destination (for example a Snowflake warehouse) and poll their
      status. Exports also run automatically on a schedule — this is the
      on-demand supplement. Requests are accepted and orchestrated by DualEntry;
      there is no SLA on when a run starts. If your organization connects an
      integration that syncs this resource with a third-party system, a change
      you make here can also be applied in that system, immediately or on a
      later sync. See the documentation for each integration for details.
paths:
  /public/v3-alpha/e-invoicing/invoices/{number}/:
    get:
      tags:
        - E-invoicing
      summary: Get the e-invoice filing of an invoice
      description: >-
        Return the e-invoice filing of the invoice with this number. Needs the
        invoice view permission. Without the e-invoicing subscription, the route
        answers 402 unless DualEntry filed the invoice. It answers 402 before it
        checks the permission.
      operationId: core_api_public_v2_e_invoicing_get_invoice_e_invoice
      parameters:
        - in: path
          name: number
          schema:
            title: Number
            type: integer
          required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicInvoiceEInvoiceSchemaOut'
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorSchema'
components:
  schemas:
    PublicInvoiceEInvoiceSchemaOut:
      properties:
        country:
          anyOf:
            - $ref: '#/components/schemas/SystemCountries'
            - type: 'null'
        status:
          anyOf:
            - $ref: '#/components/schemas/FilingStatus'
            - type: 'null'
          description: Null when DualEntry did not file the record.
        agency:
          default: ''
          title: Agency
          type: string
        decision_required:
          description: True when the company has no decision yet for the filing country.
          title: Decision Required
          type: boolean
        lifecycle:
          anyOf:
            - $ref: '#/components/schemas/FilingLifecycle'
            - type: 'null'
          description: >-
            What a cleared filing means: `network_delivery` reached the inbox of
            the receiver, the others are confirmed by the authority.
        authority_reference:
          description: >-
            The ID that the agency or the network gave the document: the SAT
            UUID, the CAE or the SDI ID, or the Peppol message ID of a Peppol
            delivery. A Peppol message ID proves the delivery, not a verdict of
            the receiver. Null when the engine gave no ID.
          title: Authority Reference
          type:
            - string
            - 'null'
        faults:
          default: []
          items:
            $ref: '#/components/schemas/PublicEInvoicingFaultSchemaOut'
          title: Faults
          type: array
        send_held:
          description: >-
            True while the authority must clear the e-invoice before the
            customer gets it.
          title: Send Held
          type: boolean
        send_held_reason:
          anyOf:
            - $ref: '#/components/schemas/SendHeldReason'
            - type: 'null'
          description: >-
            Why the customer cannot get the record yet. Null when `send_held` is
            false.
        blocked_reason:
          anyOf:
            - $ref: '#/components/schemas/BlockedReason'
            - type: 'null'
          description: Set while a broken setup of the country holds the filing.
        blocked_at:
          title: Blocked At
          format: date-time
          type:
            - string
            - 'null'
        not_filed_reason:
          anyOf:
            - $ref: '#/components/schemas/NotFiledReason'
            - type: 'null'
          description: >-
            Set when DualEntry did not file the record, such as for a customer
            that is not on Peppol.
        files:
          default: []
          description: The legal files of the filing, such as the authority PDF and XML.
          items:
            $ref: '#/components/schemas/PublicEInvoicingFileSchemaOut'
          title: Files
          type: array
        legal_pdf:
          anyOf:
            - $ref: '#/components/schemas/PublicEInvoicingFileSchemaOut'
            - type: 'null'
          description: >-
            The authority PDF that the customer gets instead of the DualEntry
            PDF.
        actions:
          default: []
          description: >-
            What this API key can do with the filing now: `retry` a failed or
            rejected filing, or `refresh` a started one. Empty without the
            e-invoicing subscription.
          items:
            $ref: '#/components/schemas/SubmissionAction'
          title: Actions
          type: array
        corrections:
          default: []
          description: >-
            How this API key can correct a cleared invoice. `credit_note`: post
            a customer credit for the invoice. Needs the customer credit create
            permission.
          items:
            $ref: '#/components/schemas/CorrectionOption'
          title: Corrections
          type: array
      required:
        - decision_required
        - send_held
      title: PublicInvoiceEInvoiceSchemaOut
      type: object
    ErrorSchema:
      properties:
        success:
          const: false
          default: false
          title: Success
          type: boolean
        errors:
          additionalProperties:
            items:
              type: string
            type: array
          title: Errors
          type: object
        error_code:
          title: Error Code
          type:
            - string
            - 'null'
        error_reason:
          title: Error Reason
          type:
            - string
            - 'null'
      required:
        - errors
      title: ErrorSchema
      type: object
    SystemCountries:
      enum:
        - AA
        - AB
        - AC
        - AD
        - AE
        - AF
        - AG
        - AH
        - AI
        - AJ
        - AK
        - AL
        - AM
        - AN
        - AO
        - AP
        - AQ
        - AR
        - AS
        - AT
        - AU
        - AV
        - AW
        - AX
        - AY
        - AZ
        - BA
        - BB
        - BC
        - BD
        - BE
        - BF
        - BG
        - BH
        - BI
        - BJ
        - BK
        - BL
        - BM
        - BN
        - BO
        - BP
        - BQ
        - BR
        - BS
        - BT
        - BU
        - BV
        - BW
        - BX
        - BY
        - BZ
        - CA
        - CB
        - CC
        - CD
        - CE
        - CF
        - CG
        - CH
        - CI
        - CJ
        - CK
        - CL
        - CM
        - CN
        - CO
        - CP
        - CQ
        - CR
        - CS
        - CT
        - CU
        - CV
        - CW
        - CX
        - CY
        - CZ
        - DA
        - DB
        - DC
        - DD
        - DE
        - DF
        - DG
        - DH
        - DI
        - DJ
        - DK
        - DL
        - DM
        - DN
        - DO
        - DP
        - DQ
        - DR
        - DS
        - DT
        - DU
        - DV
        - DW
        - DX
        - DY
        - DZ
        - EA
        - EB
        - EC
        - ED
        - EE
        - EF
        - EG
        - EH
        - EI
        - EJ
        - EK
        - EL
        - EM
        - EN
        - EO
        - EP
        - EQ
        - ER
        - ES
        - ET
        - EU
        - EV
        - EW
        - EX
        - EY
        - EZ
        - FA
        - FB
        - FC
        - FD
        - FE
        - FF
        - FG
        - FH
        - FI
        - FJ
        - FK
        - FL
        - FM
        - FN
        - FO
        - FP
        - FQ
        - FR
        - FS
        - FT
        - FU
        - FV
        - FW
        - FX
        - FY
        - FZ
        - GA
        - GB
        - GC
        - GD
        - GE
        - GF
        - GG
        - GH
        - GI
        - GJ
        - GK
        - GL
        - GM
        - GN
        - GO
        - GP
        - GQ
        - GR
        - GS
        - GT
        - GU
        - GV
        - GW
        - GX
        - GY
        - GZ
        - HA
        - HB
        - HC
        - HD
        - HE
        - HF
        - HG
        - HH
        - HI
        - HJ
        - HK
        - HL
        - HM
        - HN
        - HO
        - HP
        - HQ
        - HR
        - HS
        - HT
        - HU
        - HV
        - HW
        - HX
        - HY
        - HZ
        - IA
        - IB
        - IC
        - ID
        - IE
        - IF
        - IG
        - IH
        - II
        - IJ
        - IK
        - IL
        - IM
        - IN
        - IO
        - IP
        - IQ
        - IR
        - IS
        - IT
        - IU
        - IV
        - IW
        - IX
        - IY
        - IZ
        - JA
        - JB
        - JC
        - JD
        - JE
        - JF
        - JG
        - JH
        - JI
        - JJ
        - JK
        - JL
        - JM
        - JN
        - JO
        - JP
        - JQ
        - JR
        - JS
        - JT
        - JU
        - JV
        - JW
        - JX
        - JY
        - JZ
        - KA
        - KB
        - KC
        - KD
        - KE
        - KF
        - KG
        - KH
        - KI
        - KJ
        - KK
        - KL
        - KM
        - KN
        - KO
        - KP
        - KQ
        - KR
        - KS
        - KT
        - KU
        - KV
        - KW
        - KX
        - KY
        - KZ
        - LA
        - LB
        - LC
        - LD
        - LE
        - LF
        - LG
        - LH
        - LI
        - LJ
        - LK
        - LL
        - LM
        - LN
        - LO
        - LP
        - LQ
        - LR
        - LS
        - LT
        - LU
        - LV
        - LW
        - LX
        - LY
        - LZ
        - MA
        - MB
        - MC
        - MD
        - ME
        - MF
        - MG
        - MH
        - MI
        - MJ
        - MK
        - ML
        - MM
        - MN
        - MO
        - MP
        - MQ
        - MR
        - MS
        - MT
        - MU
        - MV
        - MW
        - MX
        - MY
        - MZ
        - NA
        - NB
        - NC
        - ND
        - NE
        - NF
        - NG
        - NH
        - NI
        - NJ
        - NK
        - NL
        - NM
        - NN
        - 'NO'
        - NP
        - NQ
        - NR
        - NS
        - NT
        - NU
        - NV
        - NW
        - NX
        - NY
        - NZ
        - OA
        - OB
        - OC
        - OD
        - OE
        - OF
        - OG
        - OH
        - OI
        - OJ
        - OK
        - OL
        - OM
        - 'ON'
        - OO
        - OP
        - OQ
        - OR
        - OS
        - OT
        - OU
        - OV
        - OW
        - OX
        - OY
        - OZ
        - PA
        - PB
        - PC
        - PD
        - PE
        - PF
        - PG
        - PH
        - PI
        - PJ
        - PK
        - PL
        - PM
        - PN
        - PO
        - PP
        - PQ
        - PR
        - PS
        - PT
        - PU
        - PV
        - PW
        - PX
        - PY
        - PZ
        - QA
        - QB
        - QC
        - QD
        - QE
        - QF
        - QG
        - QH
        - QI
        - QJ
        - QK
        - QL
        - QM
        - QN
        - QO
        - QP
        - QQ
        - QR
        - QS
        - QT
        - QU
        - QV
        - QW
        - QX
        - QY
        - QZ
        - RA
        - RB
        - RC
        - RD
        - RE
        - RF
        - RG
        - RH
        - RI
        - RJ
        - RK
        - RL
        - RM
        - RN
        - RO
        - RP
        - RQ
        - RR
        - RS
        - RT
        - RU
        - RV
        - RW
        - RX
        - RY
        - RZ
        - SA
        - SB
        - SC
        - SD
        - SE
        - SF
        - SG
        - SH
        - SI
        - SJ
        - SK
        - SL
        - SM
        - SN
        - SO
        - SP
        - SQ
        - SR
        - SS
        - ST
        - SU
        - SV
        - SW
        - SX
        - SY
        - SZ
        - TA
        - TB
        - TC
        - TD
        - TE
        - TF
        - TG
        - TH
        - TI
        - TJ
        - TK
        - TL
        - TM
        - TN
        - TO
        - TP
        - TQ
        - TR
        - TS
        - TT
        - TU
        - TV
        - TW
        - TX
        - TY
        - TZ
        - UA
        - UB
        - UC
        - UD
        - UE
        - UF
        - UG
        - UH
        - UI
        - UJ
        - UK
        - UL
        - UM
        - UN
        - UO
        - UP
        - UQ
        - UR
        - US
        - UT
        - UU
        - UV
        - UW
        - UX
        - UY
        - UZ
        - VA
        - VB
        - VC
        - VD
        - VE
        - VF
        - VG
        - VH
        - VI
        - VJ
        - VK
        - VL
        - VM
        - VN
        - VO
        - VP
        - VQ
        - VR
        - VS
        - VT
        - VU
        - VV
        - VW
        - VX
        - VY
        - VZ
        - WA
        - WB
        - WC
        - WD
        - WE
        - WF
        - WG
        - WH
        - WI
        - WJ
        - WK
        - WL
        - WM
        - WN
        - WO
        - WP
        - WQ
        - WR
        - WS
        - WT
        - WU
        - WV
        - WW
        - WX
        - WY
        - WZ
        - XA
        - XB
        - XC
        - XD
        - XE
        - XF
        - XG
        - XH
        - XI
        - XJ
        - XK
        - XL
        - XM
        - XN
        - XO
        - XP
        - XQ
        - XR
        - XS
        - XT
        - XU
        - XV
        - XW
        - XX
        - XY
        - XZ
        - YA
        - YB
        - YC
        - YD
        - YE
        - YF
        - YG
        - YH
        - YI
        - YJ
        - YK
        - YL
        - YM
        - YN
        - YO
        - YP
        - YQ
        - YR
        - YS
        - YT
        - YU
        - YV
        - YW
        - YX
        - YY
        - YZ
        - ZA
        - ZB
        - ZC
        - ZD
        - ZE
        - ZF
        - ZG
        - ZH
        - ZI
        - ZJ
        - ZK
        - ZL
        - ZM
        - ZN
        - ZO
        - ZP
        - ZQ
        - ZR
        - ZS
        - ZT
        - ZU
        - ZV
        - ZW
        - ZX
        - ZY
        - ZZ
      title: SystemCountries
      type: string
    FilingStatus:
      enum:
        - queued
        - processing
        - pending_clearance
        - cleared
        - rejected
        - failed
        - not_filed
      title: FilingStatus
      type: string
    FilingLifecycle:
      description: >-
        What a cleared filing means in its country. The client words the cleared
        status from it.
      enum:
        - authority_clearance
        - ordered_records
        - network_delivery
      title: FilingLifecycle
      type: string
    PublicEInvoicingFaultSchemaOut:
      properties:
        code:
          description: >-
            The code of the fault. Treat a code that you do not know as a
            general fault: stored filings keep old codes.
          title: Code
          type: string
        message:
          title: Message
          type: string
        paths:
          items:
            type: string
          title: Paths
          type: array
      required:
        - code
        - message
        - paths
      title: PublicEInvoicingFaultSchemaOut
      type: object
    SendHeldReason:
      description: >-
        Why the customer cannot get a filed record yet. The client translates
        the code.
      enum:
        - awaiting_clearance
        - waiting_for_setup
        - filing_failed
        - filing_rejected
      title: SendHeldReason
      type: string
    BlockedReason:
      description: >-
        Why the setup of a country holds a filing or a registration. The row
        waits and is sent after the fix.
      enum:
        - workspace_missing
        - workspace_rejected
        - workflow_missing
        - configuration
      title: BlockedReason
      type: string
    NotFiledReason:
      description: Why DualEntry did not file a record. The client translates the code.
      enum:
        - not_on_network
      title: NotFiledReason
      type: string
    PublicEInvoicingFileSchemaOut:
      properties:
        attachment_id:
          title: Attachment Id
          type: integer
        key:
          title: Key
          type: string
        name:
          title: Name
          type: string
        mime:
          title: Mime
          type: string
      required:
        - attachment_id
        - key
        - name
        - mime
      title: PublicEInvoicingFileSchemaOut
      type: object
    SubmissionAction:
      description: What a user can do with a filing now.
      enum:
        - retry
        - refresh
      title: SubmissionAction
      type: string
    CorrectionOption:
      enum:
        - credit_note
      title: CorrectionOption
      type: string

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.