Invoice Hub e-Invoicing Platform

V2

API Version 2

The stable API version for invoice management, supporting invoices, credit notes, customers, suppliers, and more.

  • Invoice & Credit Note management
  • Customer & Supplier management
  • Purchase Orders & Receipt Slips
  • Document attachments
  • Business Units & Validators
  • Custom Fields support
View V2 Documentation
V3

API Version 3

The next-generation API with enhanced compliance for the French E-Invoicing Reform (EN16931).

  • EN16931 compliance for French e-invoicing
  • Enhanced invoice validation
  • Improved data structures
  • Better error handling
  • Streamlined endpoints
  • All V2 features included
View V3 Documentation

Authentication

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 — OAuth2 Password Grant

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.

For 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 — OAuth2 Client Credentials

V3 switches to the OAuth2 Client Credentials flow, intended for machine-to-machine integrations only. Username/password login is not supported for API v3.

For 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