Invoice Hub e-Invoicing Platform
The stable API version for invoice management, supporting invoices, credit notes, customers, suppliers, and more.
The next-generation API with enhanced compliance for the French E-Invoicing Reform (EN16931).
TRESO2 API uses bearer token authentication via OpenID Connect (OAuth2). The OAuth2 flow differs between API versions — make sure you use the one matching the API version you integrate against.
V2 uses the OAuth2 Password Grant flow with a public client. Authentication requires a dedicated API user with the api realm role — standard TRESO2 web UI accounts cannot be used to obtain an API token.
api realm role; web UI credentials do not work for API accessFor token endpoints, code examples and interactive testing, see the Authentication section in the V2 documentation.
For detailed OAuth2 documentation, see: OAuth 2.0 Password Grant
V3 switches to the OAuth2 Client Credentials flow, intended for machine-to-machine integrations only. Username/password login is not supported for API v3.
client_id / client_secret pair for a token from your backend, CLI or integration tool — never from a browserclient_secret is confidential and must not be exposed in a frontend or entered in Scalaraccess_token; do not enter client_id/client_secret in the UIinvoicehub-clientId claim used as the machine principaluserId = invoicehub-clientIdFor token endpoints, code examples and the full set of v3 token checks, see the Authentication section in the V3 documentation.
For detailed OAuth2 documentation, see: OAuth 2.0 Client Credentials