Skip to main content
PUT
Create or update EU e-invoicing config
Upserts the tenant’s EU e-invoicing configuration. Setting enabled to true requires a complete seller identity — legal_name, vat_number, and a 2-letter country_code — the fields every generated EN 16931 (UBL 2.1) document needs. Scope to a legal entity with the optional entity_id query parameter.

Body Parameters

Example Request

The saved configuration is echoed back in the data envelope. For India’s IRP e-invoicing, see IRP configuration instead.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Query Parameters

entity_id
string<uuid>

Legal entity to scope the tax config to (Multi-Entity Books). Omit for the tenant's primary entity / default config.

Body

application/json

A tenant's EU e-invoicing configuration — the opt-in flag plus the EN 16931 seller party.

enabled
boolean

When true, invoices generate an EN 16931 (UBL 2.1) e-invoice. Off by default.

Seller registered/legal name (BT-27). Required to enable.

vat_number
string

Seller VAT identifier incl. country prefix, e.g. "DE123456789" (BT-31). Required to enable.

country_code
string

Seller country as an ISO 3166-1 alpha-2 code (BT-40). Required to enable.

Required string length: 2
street
string
city
string
postal_zone
string

Response

Configuration saved.

data
object

A tenant's EU e-invoicing configuration — the opt-in flag plus the EN 16931 seller party.