Description

This page groups all legislation-specific rules for API fields whose behaviour varies depending on the organization’s legislation
(FR, ES, DE or PT).

The same information is also documented on each resource page concerned, next to the field it applies to. Use this page when you need a single cross-resource reference; use the individual resource pages for full field context.

Legislation-specific features

Some API resources or capabilities apply to a single legislation only. The pages below document those legislation-specific features in detail.

  • No legislation-specific features documented yet.

Organizations

  • documentTypeId: Id of an allowed document type, values are different depending on legislationCode
    CountryAcronym Allowed document types (code name)
    FR 01 SIREN / SIRET
    CountryAcronym Allowed document types (code name)
    ES 01 NIF/DNI
    CountryAcronym Allowed document types (code name)
    DE 01 Steur-IdN
    CountryAcronym Allowed document types (code name)
    PT 01 NIF
  • documentId: Identification number, please note that each organization has a unique value.
    • SIREN of 9 characters or any SIRET of 14 characters.
    • valid NIF number.
    • Steur-Idn of 11 characters
    • (PT content to be validated with product team)
  • useWithholdingTaxTreatmentId:
    • Unused.
    • useWithholdingForSales: Indicates whether withholding tax (IRPF) must be applied on sales documents for the organization. When enabled, sales invoices may include withholding tax according to Spanish fiscal rules.
    • useWithholdingTaxTreatmentId: Defines the default tax treatment used to apply sales withholding tax when useWithholdingForSales is enabled.
    • Unused.
    • Unused.
  • vatCriterion: Enable Cash VAT.
    • When registering your business and depending on its type of activity, you can configure the type of VAT that will be automatically taken into account when performing entries.
    • Not used (only for France and Germany)
    • When registering your business and depending on its type of activity, you can configure the type of VAT that will be automatically taken into account when performing entries.
    • When registering your business and depending on its type of activity, you can configure the type of VAT that will be automatically taken into account when performing entries.
  • thirdPartyBillingVatNumber:
    • Unused for the French market
    • Unused for the Spanish market
    • Unused for the German market
    • (PT content to be validated with product team)
  • taxAuditExportNotes:
    • Not used (only for german legislation)
    • Not used (only for german legislation)
    • datevConsultantNumber: This is the identification number of the DATEV consultant. It is assigned to the tax advisor or accounting firm managing a company’s accounting within DATEV, a widely used software in Germany.
    • datevClientNumber: This field represents the DATEV client identification number. It is assigned to each company registered in DATEV and helps associate accounting entries and financial transactions with the correct organization in the system.
    • taxAuditExportNotes: This field allows adding specific notes to tax audit exports. These notes can be used to include accounting or regulatory details relevant to the organization when generating export files.
    • Not used (only for German legislation)

Document types

  • name:
    Country Allowed document types (code name)
    FR 01 SIRET
    VIES not FR 02 TVA Intracommunautaire
    Other 06 Autre document justificatif
    Country Allowed document types (code name)
    ES 01 NIF/DNI
    VIES not ES 02 NIF/IVA
    Other 03 Pasaporte
    Other 04 Documento oficial emitido en el país de residencia
    Other 05 Certificado de residencia
    Other 06 Otro documento probatorio
    Country Allowed document types (code name)
    DE 01 Steur-IdN
    VIES not DE 02 USt-IdNr
    Other 06 Another supporting document
    Country Allowed document types (code name)
    PT 01 NIF
    VIES not PT 02 NIF/IVA
    Other 06 Another supporting document

Accounting Accounts

  • code: This explanation pertains to accounts where the accountLevel is Subaccount. Refer to accountLevel for the structure of other account types.
    • Length: Variable, between 4 and 13 alphanumeric characters
    • Initial characters: First 3 must be numeric
    • Examples: 4110000, 411DUPONT, 445662000, 445663, 6010
    • Length: Is composed of a fixed length between 5 and 13 digits
    • Example: 572000000, 606000000
    • Length: Exactly 4 digits
    • Example: 1530, 3010
    • Length: Length between 3 and 30 digits for transactional accounts
    • Example: 211100000, 211113000
  • accountLevel:
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account of Detail. See code for account number structure rules. Only Subaccount accounts can be used in accounting entries.
    • Total: Used for the balance guides. From 1 to 3 digits.
    • Group: Accounting account of Total. Only 1 digit is allowed. Represents an element of the organization’s financial statement
    • Subgroup: Accounting account of Total. Is composed of 2 digits. It’s a division of the financial statement element.
    • Account: Accounting account of Total. Is composed of 3 digits. These are the accounts defined according to each country’s chart of accounts.
    • Breakdown: Accounting account of Total. Is composed of 4 digits. It’s a division of the Account.
    • Subaccount: Accounting account of Detail. Is composed of a fixed length between 5 and 13 digits. Only Subaccount accounts can be used in accounting entries.
    • Total: Unused (For France only).
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account. Is composed of 4 digits. Only Subaccount accounts can be used in accounting entries.
    • Total: Unused (For France only).
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account of Detail. See code for account number structure rules. Only Subaccount accounts can be used in accounting entries.
    • Total: Used for the balance guides. From 1 to 3 digits.
  • subAccountType: : only used if accountLevel is set to SUB_ACCOUNT.

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • DEPRECIATION_PROVISION
    • STOCK
    • RESULT_BALANCE_SHEET
    • EMPLOYEE
    • TITLE
    • CUSTOMER_PREPAYMENT_TAX_INCLUDED
    • SUPPLIER_PREPAYMENT_TAX_INCLUDED
    • INPUT_TAX
    • OUTPUT_TAX

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • EMPLOYEE
    • CUSTOMER_RETURNABLE_PACKAGING
    • SUPPLIER_RETURNABLE_PACKAGING
    • INPUT_TAX
    • OUTPUT_TAX

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • EMPLOYEE
    • CURRENT_ASSETS
    • BORROWED_CAPITAL
    • COST
    • REDUCTION_IN_EXPENSES
    • NEUTRAL_REVENUE
    • NEUTRAL_EXPENSES
    • SALES_DEDUCTION
    • EXCHANGE_RATE_INCOME
    • EXCHANGE_RATE_EXPENSE
    • BALANCE_CARRIED_FORWARD
    • AGGREGATE_CARRIED_FORWARD
    • OTHER_BALANCE_SHEET_ACCOUNT
    • STATISTICAL_BALANCE
    • STATISTICAL_CONSUMPTION
    • CURRENT_ASSETS_INPUT_TAX
    • BORROWED_CAPITAL_OUTPUT_TAX
    • CUSTOMER_PREPAYMENT
    • SUPPLIER_PREPAYMENT

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • DEPRECIATION_PROVISION
    • STOCK
    • RESULT_BALANCE_SHEET
    • EMPLOYEE
    • TITLE
    • CUSTOMER_PREPAYMENT_TAX_INCLUDED
    • SUPPLIER_PREPAYMENT_TAX_INCLUDED
    • INPUT_TAX
    • OUTPUT_TAX
  • accountType:
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special : account classes 8 and 9
    • E.C.P.N : Unused (For Spain only).
    • Statistical : Unused (For Germany only).
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special :Unused (For France only).
    • E.C.P.N : Financial statements in net worth classes 8 and 9
    • Statistical : Unused (For Germany only).
    • Balance sheet: account classes 0, 1, 7, 3970, 3980
    • Income statement : account classes 2, 3, 4, 5, 6, 8 (except 3970 & 3980)
    • Special :Unused (For France only).
    • E.C.P.N : Unused (For Spain only).
    • Statistical : account classe 9.
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special : account classes 8 and 9
    • E.C.P.N : Unused (For Spain only).
    • Statistical : Unused (For Germany only).
  • yearEndClosingAccountId:
    • Not used (For Spain only).

    Use only when accountType is E.C.P.N.

    • Not used (For Spain only).
    • Not used (For Spain only).
  • taxonomy:
    • Unused for the French market
    • Unused for the Spanish market
    • Unused for the German market
    • Numeric taxonomy code associated with the accounting account, as defined in Annex II or Annex III of Portaria n.º 302/2016. This code is used for SAF-T (PT) reporting
  • datevAccountNumber:
    • Not used (For Germany only).
    • Not used (For Germany only).
    • DATEV Automatic Account indicates whether the account is automatically managed by DATEV.
      • If true, the account is controlled by DATEV and should not be manually modified.
      • If false, the account can be manually managed.
    • DATEV account number used to integrate with the German accounting system DATEV. This field is populated based on the nature of the account and ensures compliance with DATEV standards.
    • Not used (only for German legislation)
  • transitionalPrepaymentAccountId:

    Refers to an account used for advance payments including tax. Required for accounts with the nature “Customer advance payment (tax included)” or “Supplier advance payment (tax included)”.

    • Not used (For France only).
    • Not used (For France only).
    • (PT content to be validated with product team)
  • includedEurForGermany:
    • Not used (For Germany only).
    • Not used (For Germany only).

    Indicates whether the account is included in the EÜR (Einnahmenüberschussrechnung – simplified income statement).

    • true → The account is included in the EÜR calculation/export.
    • false → The account is excluded from the EÜR. Typical usage: include sales, bank, and expense accounts; exclude fixed assets and equity accounts.
    • Not used (For Germany only).
  • createdByUser:
    • Not used (For Germany only).
    • Not used (For Germany only).

    This field is required to prove the origin of every account in the chart of accounts under German accounting law. It clearly distinguishes standard system accounts from user-created ones, allowing auditors to verify that the official chart (SKR03 or SKR04) remains intact and GoBD compliant.

    • Not used (only for German legislation)

⚙️Accounting Plan master

  • accountLevel:
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account of Detail. Is composed for minimum 6 or more digits. Subaccount can be used only to generate accounting entries.
    • Total: Used for the balance guides.
    • Group: Accounting account of Total. Only 1 digit is allowed. Represents an element of the organization’s financial statement
    • Subgroup: Accounting account of Total. Is composed of 2 digits. It’s a division of the financial statement element.
    • Account: Accounting account of Total. Is composed of 3 digits. These are the accounts defined according to each country’s chart of accounts.
    • Breakdown: Accounting account of Total. Is composed of 4 digits. It’s a division of the Account.
    • Subaccount: Accounting account of Detail. Is composed for minimum 5 or more digits. Subaccount can be used only to generate accounting entries.
    • Total: Unused (For France only).
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account of Detail. Is composed for minimum 6 or more digits. Subaccount can be used only to generate accounting entries.
    • Total: Unused (For France only).
    • Group: Unused (For Spain only).
    • Subgroup: Unused (For Spain only).
    • Account: Unused (For Spain only).
    • Breakdown: Unused (For Spain only).
    • Subaccount: Accounting account of Detail. Is composed for minimum 6 or more digits. Subaccount can be used only to generate accounting entries.
    • Total: Used for the balance guides.
  • subAccountType: : only used if accountLevel is set to SUB_ACCOUNT.

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • DEPRECIATION_PROVISION
    • STOCK
    • RESULT_BALANCE_SHEET
    • EMPLOYEE
    • TITLE
    • CUSTOMER_PREPAYMENT_TAX_INCLUDED
    • SUPPLIER_PREPAYMENT_TAX_INCLUDED
    • INPUT_TAX
    • OUTPUT_TAX

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • EMPLOYEE
    • CUSTOMER_RETURNABLE_PACKAGING
    • SUPPLIER_RETURNABLE_PACKAGING
    • INPUT_TAX
    • OUTPUT_TAX

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • EMPLOYEE
    • CURRENT_ASSETS
    • BORROWED_CAPITAL
    • COST
    • REDUCTION_IN_EXPENSES
    • NEUTRAL_REVENUE
    • NEUTRAL_EXPENSES
    • SALES_DEDUCTION
    • EXCHANGE_RATE_INCOME
    • EXCHANGE_RATE_EXPENSE
    • BALANCE_CARRIED_FORWARD
    • AGGREGATE_CARRIED_FORWARD
    • OTHER_BALANCE_SHEET_ACCOUNT
    • STATISTICAL_BALANCE
    • STATISTICAL_CONSUMPTION
    • CURRENT_ASSETS_INPUT_TAX
    • BORROWED_CAPITAL_OUTPUT_TAX
    • CUSTOMER_PREPAYMENT
    • SUPPLIER_PREPAYMENT

    Only these values can be used:

    • UNDEFINED
    • CUSTOMER
    • PROVIDER
    • BANK
    • CASH
    • CHARGE
    • REVENUE
    • CAPITAL
    • FIXED_ASSET
    • MANAGEMENT_RESULT
    • DEPRECIATION_PROVISION
    • STOCK
    • RESULT_BALANCE_SHEET
    • EMPLOYEE
    • TITLE
    • CUSTOMER_PREPAYMENT_TAX_INCLUDED
    • SUPPLIER_PREPAYMENT_TAX_INCLUDED
    • INPUT_TAX
    • OUTPUT_TAX
  • accountType:
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special : account classes 8 and 9
    • ECPN : Unused (For Spain only).
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special :Unused (For France only).
    • ECPN : Financial statements in net worth
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special :Unused (For France only).
    • ECPN : Unused (For Spain only).
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special : account classes 8 and 9
    • ECPN : Unused (For Spain only).

Journal Types

  • type:
    • Financial: Customer/supplier payments and other banking operations.
    • Carry forward: Close of the fiscal year to generate carry forward entries for fiscal year +1
    • General: Miscellaneous accounting documents.
    • Purchases: Supplier purchase accounting documents.
    • Sales: Sales accounting documents.
    • Closing : unused for the French market
    • Financial: Customer/supplier payments and other banking operations.
    • Carry forward: Close of the fiscal year to generate carry forward entries for fiscal year +1
    • General: Miscellaneous accounting documents.
    • Purchases: Supplier purchase accounting documents.
    • Sales: Sales accounting documents.
    • Closing : Close of the current fiscal year.
    • Financial: Customer/supplier payments and other banking operations.
    • Carry forward: Close of the fiscal year to generate carry forward entries for fiscal year +1
    • General: Miscellaneous accounting documents.
    • Purchases: Supplier purchase accounting documents.
    • Sales: Sales accounting documents.
    • Closing : unused for the German market
    • Financial: Customer/supplier payments and other banking operations.
    • Carry forward: Close of the fiscal year to generate carry forward entries for fiscal year +1
    • General: Miscellaneous accounting documents.
    • Purchases: Supplier purchase accounting documents.
    • Sales: Sales accounting documents.
    • Closing : unused for the Portuguese market
  • creditNoteReason:

    Only for Spanish legislation

    For Spanish legislation, and only if the journal type is PURCHASE_INVOICE or SALES_INVOICE, it is possible to specify that the journal is used for credit notes. In this case, it is mandatory to specify a reason by selecting one of the following values:

    • R1: Return of packaging
      • Used when goods include packaging that is later returned, requiring an invoice adjustment.
    • R2: Bankruptcy proceedings
      • Issued in cases where the debtor enters bankruptcy and VAT correction is needed.
    • R3: Bad debt
      • Used when the original invoice cannot be collected due to non-payment, allowing VAT recovery.
    • R4: Other corrective invoices
      • Covers general corrections not included in other predefined categories.
    • R5: Simplified invoice correction
      • Used when correcting simplified invoices (i.e., receipts instead of full invoices).

    Only for Spanish legislation

    Only for Spanish legislation

Invoice Types

  • siiCode:
    • Unused for the French market

    Code used for the Spanish SII (Immediate Supply of Information) classification of the invoice type.

    • Unused for the German market
    • Unused for the Portuguese market

Accounting Entries

  • sessionId: and session A session adds identifiable information to journal entries.
    • Not used (For Germany only).
    • Not used (For Germany only).

    sessionId: the session identifier, this value is mandatory. session allows retrieving: id: the session identifier, which can be retrieved here or via sessionId. name: the session name (e.g., Automatisch erstellt) stamp: the session name and timestamp (e.g., Automatisch erstellt 12.06.2024 10:20:04) deactivated: the session status. When true, the session cannot be used for a new accounting entry.
    img

    • Not used (For Germany only).
  • contraAccount: Lines with a general offset account.
    • Not used (For Germany only).
    • Not used (For Germany only).

    Used only for Germany.

    • Not used (For Germany only).
  • finishInvoiceNumber:
    • Unused for the French market

    These fields are used for Spanish simplified invoices when several simplified invoices are grouped into a single accounting entry. Grouping is used to avoid creating one accounting entry per simplified invoice while still keeping the traceability of the invoice number range included in the grouped accounting entry.

    • isGroupingInvoices: Indicates whether the accounting entry invoice represents a grouping of several simplified invoices.
    • startInvoiceNumber: Indicates the first simplified invoice number included in the grouped invoice range.
    • finishInvoiceNumber: Indicates the last simplified invoice number included in the grouped invoice range.
    • invoiceType / invoiceTypeId: Identifies the invoice type used for the grouped invoices. In this case, invoiceTypeId is the identifier of the simplified invoice type.
    • Unused for the German market
    • Unused for the Portuguese market

Create by using codes

  • description: A value used as a template for lines from the interface, which assigns a default value to the lines.

    This value is optional

    This value is optional

    This value is mandatory even if descriptions are given for each line.

    This value is optional

  • sessionId: The accounting session associated with the entry (only DE legislation)

    This value is not required.

    This value is not required.

    This value is mandatory and automatically assigned according to the following rules:

    This value is not required.

  • finishInvoiceNumber:

    This value is not used.

    These optional fields are used when several simplified invoices are grouped into a single accounting entry.

    • isGroupingInvoices: Indicates whether the accounting entry line represents a grouping of several simplified invoices.
    • startInvoiceNumber: Indicates the first simplified invoice number included in the grouped invoice range.
    • finishInvoiceNumber: Indicates the last simplified invoice number included in the grouped invoice range.

    This value is not used.

    This value is not used.

Create by using Ids

  • description: A value used as a template for lines from the interface, which assigns a default value to the lines.

    This value is optional

    This value is optional

    This value is mandatory even if descriptions are given for each line.

    This value is optional

  • sessionId: The accounting session associated with the entry (only DE legislation)

    This value is not required.

    This value is not required.

    This value is mandatory and automatically assigned according to the following rules:

    This value is not required.

  • finishInvoiceNumber:

    This value is not used.

    These optional fields are used when several simplified invoices are grouped into a single accounting entry.

    • isGroupingInvoices: Indicates whether the accounting entry line represents a grouping of several simplified invoices.
    • startInvoiceNumber: Indicates the first simplified invoice number included in the grouped invoice range.
    • finishInvoiceNumber: Indicates the last simplified invoice number included in the grouped invoice range.

    This value is not used.

    This value is not used.

⚙️Trial Balance

  • showClosingEntries:
    • Not used for France

    true = Include closing entry lines

    • Not used for Germany
    • Not used for Portugal
  • accountType:
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special : account classes 8 and 9
    • E.C.P.N : Unused (For Spain only).
    • Statistical : Unused (For Germany only).
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special :Unused (For France only).
    • E.C.P.N : Financial statements in net worth classes 8 and 9
    • Statistical : Unused (For Germany only).
    • Balance sheet: account classes 0, 1, 7, 3970, 3980
    • Income statement : account classes 2, 3, 4, 5, 6, 8 (except 3970 & 3980)
    • Special :Unused (For France only).
    • E.C.P.N : Unused (For Spain only).
    • Statistical : account classe 9.
    • Balance sheet: account classes 1 to 5
    • Income statement : account classes 6 and 7
    • Special : account classes 8 and 9
    • E.C.P.N : Unused (For Spain only).
    • Statistical : Unused (For Germany only).

Organization Accounting Setup

  • defaultFinancialDiscountAccountId:
    • Unused for the French market
    • Unused for the Spanish market
    • Unused for the German market
    • (PT content to be validated with product team)
  • taxRegime: Tax Treatment and accounting options vary depending on the organization’s legislation:
    • General
    • BA IR in revenue expenditure
    • BNC IR in revenue expenditure
    • Not used for Spain.
    • Not used for Germany.
    • Not used for Portugal.
  • annualAccountsModel: Specifies the applicable annual accounts model:
    • Not used for France.
    • NORMAL: Standard.
    • PYME: (Pequeña y Mediana Empresa) Refers to Small and Medium-sized Enterprises.
    • DATEV SKR03: Process-based German Chart of Accounts.
    • DATEV SKR04: Function-based German Chart of Accounts.
    • Not used (only for German legislation)
  • defaultXXXId:

    All defaultXXXId fields are valid for the French market, except for the following:

    • defaultResultAccountCFId
    • defaultCreditorsAccountCFId
    • defaultDebtorsAccountCFId
    • defaultPayrollSessionId

    All defaultXXXId fields are valid for the Spanish market, except for the following:

    • defaultProfitAccountCFId
    • defaultLossAccountCFId
    • defaultOpeningAccountCFId
    • defaultCreditorsAccountCFId
    • defaultDebtorsAccountCFId
    • defaultPayrollJournalTypeId
    • defaultPayrollSessionId

    All defaultXXXId fields are valid for the German market, except for the following:

    • defaultResultAccountCFId
    • (PT content to be validated with product team)

Customers

  • documentTypeId: allows you to define the type of identification document for the Customer. In creation, it is automatically set by default based on the legislation and country, and, with few exceptions, does not need to be filled in during creation. Otherwise, to assign a value, retrieve the desired ID from document type.
    Country Allowed document types (code name)
    FR 01 SIRET
    VIES not FR 02 TVA Intracommunautaire
    Other 06 Autre document justificatif
    Country Allowed document types (code name)
    ES 01 NIF/DNI
    VIES not ES 02 NIF/IVA
    Other 03 Pasaporte
    Other 04 Documento oficial emitido en el país de residencia
    Other 05 Certificado de residencia
    Other 06 Otro documento probatorio
    Country Allowed document types (code name)
    DE 01 Steur-IdN
    VIES not DE 02 USt-IdNr
    Other 06 Another supporting document
    Country Allowed document types (code name)
    PT 01 NIF
    VIES not PT 02 NIF/IVA
    Other 06 Another supporting document
  • documentId: Identification number, value formats may differ depending on legislationCode.
    • For a French Customer, you can fill any SIREN of 9 characters or any SIRET of 14 characters. The value is not mandatory.
    • For a Spanish Customer, you need to fill a valid NIF/DNI/NIE number. The value is not mandatory.
    • For a German Customer, you may enter either a Steuer-IdNr with exactly 11 characters or another value ranging from 11 to 14 characters. The value is not mandatory.
    • For a Portuguese Customer, you can fill a valid NIF (9 digits). The value is not mandatory.
  • vatNumber: An EU VAT Number is a unique identifier for tax purposes within the European Union, used primarily for cross-border transactions. It starts with a two-letter country code followed by a series of numbers and sometimes letters, varying by country. This field is not applicable for Customer that are not registered in the VIES system. For VIES Customer, the format is described at this FAQ N° 11 https://ec.europa.eu/taxation_customs/vies/#/faq
    • If the Customer is FR, the VAT number is recommended but not mandatory.
    • If the Customer is VIES but not FR, the VAT number is recommended but not mandatory.
    • If the Customer is neither VIES nor FR, the VAT number is not used.
    • If the Customer is ES, the VAT number is recommended but not mandatory.
    • If the Customer is VIES but not ES, the VAT number is recommended but not mandatory.
    • If the Customer is neither VIES nor ES, the VAT number is not used.
    • If the Customer is DE, the VAT number is recommended but not mandatory.
    • If the Customer is VIES but not DE, the VAT number is recommended but not mandatory.
    • If the Customer is neither VIES nor DE, the VAT number is not used.
    • If the Customer is PT, the VAT number is recommended but not mandatory.
    • If the Customer is VIES but not PT, the VAT number is recommended but not mandatory.
    • If the Customer is neither VIES nor PT, the VAT number is not used.
  • code: Code of the Customer. During creation, it is automatically calculated if the option is not inactive in Sequence Numbers, otherwise it is a mandatory value. In any cases, it is still possible to assign it to enforce a specific value.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Customer, even if automatic numbering mode is active.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Customer, even if automatic numbering mode is active.

    • For this legislation DE, automatic numbering is mandatory and cannot be disabled from Sequence Numbers.
    • If you force a value, it must be strictly numeric and adhere to the rule of a number being between 10000 and 69999 for customers, and between 70000 and 99999 for suppliers or employees.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Customer, even if automatic numbering mode is active.

  • defaultAccountingAccountId: Id of the general account in accountingAccount associated with the Customer. The subAccountType of the account must be CUSTOMER.

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

    Caution, as per DE legislation, assigning a defaultAccountingAccountId is mandatory, if a default value is not provided, it will then be necessary to specify in defaultAccountingAccountId the Customer collective account ID.

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

  • hasEquivalenceSurcharge:
    • Unused for the French market

    Indicates whether a customer is subject to the equivalence surcharge regime.

    The equivalence surcharge, as applied in Spain, is a form of simplified VAT for retail traders who cannot recover VAT. The rates of the equivalence surcharge vary according to the VAT rate applicable to the products, with surcharge rates of 5.2% for products with a general VAT of 21%, 1.4% for products with a reduced VAT of 10%, and other rates for different products or categories.

    • Unused for the German market
    • Unused for the Portuguese market
  • eInvoicingAddress:
    • eInvoicingAddressType: Defines the type of address used for electronic invoicing to receive invoices.
    • eInvoicingAddress: Contains the identifier registered in the electronic invoicing directory and used to route electronic invoices to the customer. There are four possible electronic invoicing address formats, depending on how a company organizes its invoice reception:
    • SIREN: A general address for the whole company. Example: 123456782
    • SIREN + Suffix: Used to route invoices to different departments within the company. Example: 123456782_Accounting
    • SIREN + SIRET: Used to identify a specific establishment or branch. Example: 123456782_12345678200001
    • SIREN + SIRET + Routing Code: Used to direct invoices to a specific department inside a branch or site. Example: 123456782_12345678200001_Bakery
    • Unused for the Spanish market
    • Unused for the German market
    • Unused for the Portuguese market
  • printNameOnPdf:
    • Unused (Spain only).
    • nonIdentifiedCustomer: When this option is selected, the sales invoices for this customer will be simplified invoices (without including the identification number).
    • printNameOnPdf: Defines the default value of the “print customer name on simplified invoice” option used when creating an invoice: sales Invoices printNameOnPdf.
    • More info: API resources / 📝Simplified Invoice
    • Unused (Spain only).
    • Unused (Spain only).

Suppliers

  • documentTypeId: allows you to define the type of identification document for the Customer. In creation, it is automatically set by default based on the legislation and country, and, with few exceptions, does not need to be filled in during creation. Otherwise, to assign a value, retrieve the desired ID from document type.
    Country Allowed document types (code name)
    FR 01 SIRET
    VIES not FR 02 TVA Intracommunautaire
    Other 06 Autre document justificatif
    Country Allowed document types (code name)
    ES 01 NIF/DNI
    VIES not ES 02 NIF/IVA
    Other 03 Pasaporte
    Other 04 Documento oficial emitido en el país de residencia
    Other 05 Certificado de residencia
    Other 06 Otro documento probatorio
    Country Allowed document types (code name)
    DE 01 Steur-IdN
    VIES not DE 02 USt-IdNr
    Other 06 Another supporting document
    Country Allowed document types (code name)
    PT 01 NIF
    VIES not PT 02 NIF/IVA
    Other 06 Another supporting document
  • documentId: Identification number, value formats may differ depending on legislationCode.
    • For a French Supplier, you can fill any SIREN of 9 characters or any SIRET of 14 characters. The value is not mandatory.
    • For a Spanish Supplier, you need to fill a valid NIF/DNI/NIE number. The value is not mandatory.
    • For a German Supplier, you may enter either a Steuer-IdNr with exactly 11 characters or another value ranging from 11 to 14 characters. The value is not mandatory.
    • For a Portuguese Supplier, you can fill a valid NIF (9 digits). The value is not mandatory.
  • vatNumber: An EU VAT Number is a unique identifier for tax purposes within the European Union, used primarily for cross-border transactions. It starts with a two-letter country code followed by a series of numbers and sometimes letters, varying by country. This field is not applicable for Supplier that are not registered in the VIES system. For VIES Supplier, the format is described at this FAQ N° 11 https://ec.europa.eu/taxation_customs/vies/#/faq
    • If the Supplier is FR, the VAT number is recommended but not mandatory.
    • If the Supplier is VIES but not FR, the VAT number is recommended but not mandatory.
    • If the Supplier is neither VIES nor FR, the VAT number is not used.
    • If the Supplier is ES, the VAT number is recommended but not mandatory.
    • If the Supplier is VIES but not ES, the VAT number is recommended but not mandatory.
    • If the Supplier is neither VIES nor ES, the VAT number is not used.
    • If the Supplier is DE, the VAT number is recommended but not mandatory.
    • If the Supplier is VIES but not DE, the VAT number is recommended but not mandatory.
    • If the Supplier is neither VIES nor DE, the VAT number is not used.
    • If the Supplier is PT, the VAT number is recommended but not mandatory.
    • If the Supplier is VIES but not PT, the VAT number is recommended but not mandatory.
    • If the Supplier is neither VIES nor PT, the VAT number is not used.
  • code: Code of the Supplier. During creation, it is automatically calculated if the option is not inactive in Sequence Numbers, otherwise it is a mandatory value. In any cases, it is still possible to assign it to enforce a specific value.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Supplier, even if automatic numbering mode is active.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Supplier, even if automatic numbering mode is active.

    • For this legislation DE, automatic numbering is mandatory and cannot be disabled from Sequence Numbers.
    • If you force a value, it must be strictly numeric and adhere to the rule of a number being between 10000 and 69999 for customers, and between 70000 and 99999 for suppliers or employees.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Supplier, even if automatic numbering mode is active.

  • defaultAccountingAccountId: Id of the general account in accountingAccount associated with the Supplier. The subAccountType of the account must be PROVIDER.

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

    Caution, as per DE legislation, assigning a defaultAccountingAccountId is mandatory, if a default value is not provided, it will then be necessary to specify in defaultAccountingAccountId the Supplier collective account ID.

    In creation, if defaultAccountingAccountId is not specified, the account defined in Accounting Configuration will be automatically assigned.
    img

  • vatCriterion: Enable Cash VAT.
    • Cash VAT is the scheme applied to services provided by service providers. The implementation of Cash VAT allows automatic consideration of the tax when performing entries and feeds the VAT return.
    • Not used (only for France)
    • Not used (only for France)
    • Not used (only for France)
  • personalIncomeTax: Enable Income Tax.
    • Not used (only for Spain)

    Indicates whether personal income tax is applicable for the supplier. If true, personal income tax handling is enabled.

    • Not used (only for Spain)
    • Not used (only for Spain)
  • taxTreatmentId: Tax treatment applicable.
    • Not used (only for Spain)

    References the tax treatment applicable to the supplier. Links to a TaxTreatment object that defines the correct tax handling rules.

    • Not used (only for Spain)
    • Not used (only for Spain)

Employees

  • code: Code of the employee. During creation, it is automatically calculated if the option is active in Sequence Numbers, otherwise it is a mandatory value. In any cases, it is still possible to assign it to enforce a specific value.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Employee, even if automatic numbering mode is active.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Employee, even if automatic numbering mode is active.

    • If you force a value, it must be strictly numeric and adhere to the rule of a number being between 10000 and 69999 for customers, and between 70000 and 99999 for suppliers or employees.

    Forcing a value allows you to retrieve an alphanumeric code that can already identify the Employee, even if automatic numbering mode is active.

Products

  • useWithholding:
    • Unused (Spain only).

    This field is specific to the Spanish legislation (IRPF): Indicates whether withholding tax (IRPF) applies to this product. If true, withholding can be calculated on sales documents using this product. If false, no withholding will be applied.

    • Unused (Spain only).
    • Unused (Spain only).

⚙️Product Price service

  • equivalenceSurchargePercentage:

    Always 0 as it is unused for the French market

    Returns the percentage of the equivalence surcharge if the customer has the option hasEquivalenceSurcharge set to true else returns 0.

    The equivalence surcharge, as applied in Spain, is a form of simplified VAT for retail traders who cannot recover VAT. The rates of the equivalence surcharge vary according to the VAT rate applicable to the products, with surcharge rates of 5.2% for products with a general VAT of 21%, 1.4% for products with a reduced VAT of 10%, and other rates for different products or categories.

    Always 0 as it is unused for the German market

    Always 0 as it is unused for the Portuguese market

Sales quotes

  • totalWithholding:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Total amount excluding withholding tax. This represents the taxable base before applying IRPF withholding.
    • totalWithholding: Total withholding amount (IRPF) calculated at document level.
    • Unused (Spain only).
    • unused for the Portuguese market
  • totalVatFee:
    • unused for the French market

    Indicates whether a customer is subject to the equivalence surcharge regime.

    The equivalence surcharge (totalFeeSurcharge), as applied in Spain, is a form of simplified VAT for retail traders who cannot recover VAT. The rates of the equivalence surcharge vary according to the VAT rate applicable to the products, with surcharge rates of 5.2% for products with a general VAT of 21%, 1.4% for products with a reduced VAT of 10%, and other rates for different products or categories. The equivalence surcharge is calculated on amount of general VAT (totalVatFee). The hasEquivalenceSurcharge field takes the value defined on the customer record.

    • unused for the German market
    • unused for the Portuguese market
  • socialName:

    mandatory for the French market

    no mandatory for the Spanish market

    no mandatory for the Germany market

    mandatory for the Portuguese market

  • vatNumber: An EU VAT Number is a unique identifier for tax purposes within the European Union, used primarily for cross-border transactions. It starts with a two-letter country code followed by a series of numbers and sometimes letters, varying by country. This field is not applicable for customers that are not registered in the VIES system. For VIES customers, the format is described at this FAQ N° 11 https://ec.europa.eu/taxation_customs/vies/#/faq

    mandatory for VIES customers

    no mandatory for Spanish market

    no mandatory for Germany market

    • (PT content to be validated with product team)
  • documentId: Identification number, value formats may differ depending on legislationCode.
    • For a French , you can fill any SIREN of 9 characters or any SIRET of 14 characters. The value is not mandatory.
    • For a Spanish , you need to fill a valid NIF/DNI/NIE number. The value is mandatory.
    • For a German , you may enter either a Steuer-IdNr with exactly 11 characters or another value ranging from 11 to 14 characters. The value is not mandatory.
    • (PT content to be validated with product team)
  • withholdingPercentage:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Line total amount excluding withholding tax.
    • totalWithholding: Withholding amount (IRPF) calculated for the document line.
    • withholdingPercentage: Withholding percentage (IRPF) applied to the line and used to calculate the withholding amount.
    • Unused (Spain only).
    • Unused (Spain only).

Sales orders

  • totalWithholding:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Total amount excluding withholding tax. This represents the taxable base before applying IRPF withholding.
    • totalWithholding: Total withholding amount (IRPF) calculated at document level.
    • Unused (Spain only).
    • unused for the Portuguese market
  • totalVatFee:
    • unused for the French market

    Indicates whether a customer is subject to the equivalence surcharge regime.

    The equivalence surcharge (totalFeeSurcharge), as applied in Spain, is a form of simplified VAT for retail traders who cannot recover VAT. The rates of the equivalence surcharge vary according to the VAT rate applicable to the products, with surcharge rates of 5.2% for products with a general VAT of 21%, 1.4% for products with a reduced VAT of 10%, and other rates for different products or categories. The equivalence surcharge is calculated on amount of general VAT (totalVatFee). The hasEquivalenceSurcharge field takes the value defined on the customer record.

    • unused for the German market
    • unused for the Portuguese market
  • socialName:

    mandatory for the French market

    no mandatory for the Spanish market

    no mandatory for the Germany market

    mandatory for the Portuguese market

  • vatNumber: An EU VAT Number is a unique identifier for tax purposes within the European Union, used primarily for cross-border transactions. It starts with a two-letter country code followed by a series of numbers and sometimes letters, varying by country. This field is not applicable for customers that are not registered in the VIES system. For VIES customers, the format is described at this FAQ N° 11 https://ec.europa.eu/taxation_customs/vies/#/faq

    mandatory for VIES customers

    no mandatory for Spanish market

    no mandatory for Germany market

    • (PT content to be validated with product team)
  • documentId: Identification number, value formats may differ depending on legislationCode.
    • For a French , you can fill any SIREN of 9 characters or any SIRET of 14 characters. The value is not mandatory.
    • For a Spanish , you need to fill a valid NIF/DNI/NIE number. The value is mandatory.
    • For a German , you may enter either a Steuer-IdNr with exactly 11 characters or another value ranging from 11 to 14 characters. The value is not mandatory.
    • (PT content to be validated with product team)
  • withholdingPercentage:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Line total amount excluding withholding tax.
    • totalWithholding: Withholding amount (IRPF) calculated for the document line.
    • withholdingPercentage: Withholding percentage (IRPF) applied to the line and used to calculate the withholding amount.
    • Unused (Spain only).
    • Unused (Spain only).

Sales delivery notes

  • totalWithholding:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Total amount excluding withholding tax. This represents the taxable base before applying IRPF withholding.
    • totalWithholding: Total withholding amount (IRPF) calculated at document level.
    • Unused (Spain only).
    • unused for the Portuguese market
  • totalVatFee:
    • unused for the French market

    Indicates whether a customer is subject to the equivalence surcharge regime.

    The equivalence surcharge (totalFeeSurcharge), as applied in Spain, is a form of simplified VAT for retail traders who cannot recover VAT. The rates of the equivalence surcharge vary according to the VAT rate applicable to the products, with surcharge rates of 5.2% for products with a general VAT of 21%, 1.4% for products with a reduced VAT of 10%, and other rates for different products or categories. The equivalence surcharge is calculated on amount of general VAT (totalVatFee). The hasEquivalenceSurcharge field takes the value defined on the customer record.

    • unused for the German market
    • unused for the Portuguese market
  • socialName:

    mandatory for the French market

    no mandatory for the Spanish market

    no mandatory for the Germany market

    mandatory for the Portuguese market

  • vatNumber: An EU VAT Number is a unique identifier for tax purposes within the European Union, used primarily for cross-border transactions. It starts with a two-letter country code followed by a series of numbers and sometimes letters, varying by country. This field is not applicable for customers that are not registered in the VIES system. For VIES customers, the format is described at this FAQ N° 11 https://ec.europa.eu/taxation_customs/vies/#/faq

    mandatory for VIES customers

    no mandatory for Spanish market

    no mandatory for Germany market

    • (PT content to be validated with product team)
  • documentId: Identification number, value formats may differ depending on legislationCode.
    • For a French , you can fill any SIREN of 9 characters or any SIRET of 14 characters. The value is not mandatory.
    • For a Spanish , you need to fill a valid NIF/DNI/NIE number. The value is mandatory.
    • For a German , you may enter either a Steuer-IdNr with exactly 11 characters or another value ranging from 11 to 14 characters. The value is not mandatory.
    • (PT content to be validated with product team)
  • withholdingPercentage:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Line total amount excluding withholding tax.
    • totalWithholding: Withholding amount (IRPF) calculated for the document line.
    • withholdingPercentage: Withholding percentage (IRPF) applied to the line and used to calculate the withholding amount.
    • Unused (Spain only).
    • Unused (Spain only).

Sales invoices

  • totalWithholding:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Total amount excluding withholding tax. This represents the taxable base before applying IRPF withholding.
    • totalWithholding: Total withholding amount (IRPF) calculated at document level.
    • Unused (Spain only).
    • unused for the Portuguese market
  • totalVatFee:
    • unused for the French market

    Indicates whether a customer is subject to the equivalence surcharge regime.

    The equivalence surcharge (totalFeeSurcharge), as applied in Spain, is a form of simplified VAT for retail traders who cannot recover VAT. The rates of the equivalence surcharge vary according to the VAT rate applicable to the products, with surcharge rates of 5.2% for products with a general VAT of 21%, 1.4% for products with a reduced VAT of 10%, and other rates for different products or categories. The equivalence surcharge is calculated on amount of general VAT (totalVatFee). The hasEquivalenceSurcharge field takes the value defined on the customer record.

    • unused for the German market
    • unused for the Portuguese market
  • socialName:

    mandatory for the French market

    no mandatory for the Spanish market

    no mandatory for the Germany market

    mandatory for the Portuguese market

  • vatNumber: An EU VAT Number is a unique identifier for tax purposes within the European Union, used primarily for cross-border transactions. It starts with a two-letter country code followed by a series of numbers and sometimes letters, varying by country. This field is not applicable for customers that are not registered in the VIES system. For VIES customers, the format is described at this FAQ N° 11 https://ec.europa.eu/taxation_customs/vies/#/faq

    mandatory for VIES customers

    no mandatory for Spanish market

    no mandatory for Germany market

    • (PT content to be validated with product team)
  • documentId: Identification number, value formats may differ depending on legislationCode.
    • For a French , you can fill any SIREN of 9 characters or any SIRET of 14 characters. The value is not mandatory.
    • For a Spanish , you need to fill a valid NIF/DNI/NIE number. The value is mandatory.
    • For a German , you may enter either a Steuer-IdNr with exactly 11 characters or another value ranging from 11 to 14 characters. The value is not mandatory.
    • (PT content to be validated with product team)
  • printNameOnPdf:
    • Unused (Spain only).

    When true, the customer name is printed on the simplified invoice PDF. On creation, this option can be pre-filled from the customer’s printNameOnPdf default and then changed on the invoice if needed.

    • Unused (Spain only).
    • Unused (Spain only).
  • withholdingPercentage:
    • Unused (Spain only).

    The following fields are specific to the Spanish legislation (IRPF):

    • totalLiquidNoWithholding: Line total amount excluding withholding tax.
    • totalWithholding: Withholding amount (IRPF) calculated for the document line.
    • withholdingPercentage: Withholding percentage (IRPF) applied to the line and used to calculate the withholding amount.
    • Unused (Spain only).
    • Unused (Spain only).

Organization Sales Setup

  • salesReceiptDefaultPresetTextId:
    • Unused for the French market
    • Unused for the Spanish market
    • Unused for the German market
    • (PT content to be validated with product team)
  • useVATRatesForDOM:

    This allows you to select VAT rates for DOM in sales entities.

    • Not used for Spanish Market
    • Not used for German Market
    • Not used for Portuguese Market
  • defaultSalesPostingInvoiceSessionId:
    • Not used for French Market
    • Not used for Spanish Market

    Used to define the Session preference for posting a sales invoice to your accounting records.

    • Not used for Portuguese Market
  • defaultPurchasePostingInvoiceSessionId:
    • Not used for French Market
    • Not used for Spanish Market

    Used to define the Session preference for posting a purchase invoice to your accounting records.

    • Not used for Portuguese Market
  • nonIdentifiedSalesInvoiceMaxAmount:
    • Unused (Spain only).
    • askGenerateNonIdentifiedSalesInvoicesByDefault: When true, simplified invoices are used for individual customers by default.
    • nonIdentifiedSalesInvoiceMaxAmount: Warning threshold for simplified invoice amounts.
    • Unused (Spain only).
    • Unused (Spain only).

Organization IRPF Setup

  • name: , percentage
    • Unused (Spain only).
    • name: Label of the withholding rate configured for the organization.
    • percentage: Percentage applied when calculating IRPF withholding on eligible sales documents and lines.
    • Unused (Spain only).
    • Unused (Spain only).

Operational Number Preset Texts

  • operationalNumberSeriesType:
    • Unused for the French market
    • Unused for the Spanish market
    • Unused for the German market
    • (PT content to be validated with product team)

Purchase invoices

  • eInvoicingStatus:
    • Standardized status for e-invoicing that enables tracking of the invoice lifecycle.
    • Unused for the Spanish market.
    • Unused for the German market.
    • Unused for the Portuguese market.