Skip to content

B2Brouter ​

E-invoicing through an approved platform: issue and send an invoice, follow its status, receive your suppliers’ invoices.

A B2Brouter connection lets the B2Brouter and B2Brouter e-invoice nodes issue, send, follow and receive e-invoices through an approved platform.

The connection holds an API key and the chosen environment. It is encrypted at rest, applied by the server at call time, and never appears in a workflow.

At a glance ​

  • Identifier: b2brouter
  • Family: Service
  • Set up by: A member (personal) or an administrator (shared with the organisation)
  • Authentication: API key or token
  • Credential type: service:b2brouter
  • Official API documentation: https://developer.b2brouter.net/reference
  • Environments: Test (staging) — https://api-staging.b2brouter.net ; Production (production) — https://api.b2brouter.net
  • Rate limit applied by Loop & Roll: 5 requests per second and per connection; up to 3 attempts on a 429 or a 5xx
  • Connection test: Yes

Step by step ​

The same steps are shown in the connection form of the app.

  1. Pick the environment: test (app-staging) to try things out, production to issue for real.
  2. In B2Brouter, open the “Developers” tab → “API Keys” and create a key.
  3. Copy it and paste it below.

Connection fields ​

FieldKindRequiredNotes
Environment (environment)ChoiceYesstaging (Test), production (Production) Default: staging
API key (apiKey)Secret — never shown againYesA key from the SAME environment: a test key is refused in production.

Before you start ​

  • A key from the same environment as the connection: a test key is refused in production.

Add the connection ​

  1. Open Connections. In the Third-party services section, find the B2Brouter card and click Connect.
  2. Give the connection a Name and choose the Scope: Personal or Organisation (only an administrator can create one).
  3. Pick the Environment, then in B2Brouter, Developers tab → API Keys; paste the key and click Create the connection.
  4. Back in the list, click Configure on the new connection, then Test the connection.

The test calls GET /accounts and shows the first issuing account.

Common errors ​

Message or codeCauseWhat to do
Test: “the service rejects the key” (integration.unauthorized)Key revoked, mistyped or from another environment.Create a new key and replace it in Configure.
integration.rejectedB2Brouter refused the request (missing field, invalid value).Fix the node settings.
integration.not_foundThe object does not exist for this account.Check the id and the connection chosen.
integration.rate_limitedB2Brouter quota exceeded, after retries.Transient: the engine resumes the step later.
integration.unavailableNetwork or B2Brouter outage, after retries.Transient: the engine resumes the step later.
integration.connection_unusableThe connection was deleted, is not active or is out of your scope.Pick a valid connection in the node.

Nodes that use this connection ​

Loop & Roll — the workflow builder for email.