Skip to content

VosFactures ​

Your VosFactures contacts, invoices and quotes — to invoice from an email, send back a PDF and react to an invoice created or paid.

A VosFactures connection lets the VosFactures node find or create a contact, create an invoice or a quote, get a document and add its PDF, and send a document by email. It also serves the VosFactures — new or changed document trigger.

The connection holds the account name (agence for agence.vosfactures.fr) and the API authorisation code. You never enter a full address: Loop & Roll builds https://<account name>.vosfactures.fr. The code is encrypted at rest and added by the server to every call in the api_token parameter, the only form the VosFactures API documents; it never appears in a workflow.

At a glance ​

  • Identifier: vosfactures
  • Family: Service
  • Set up by: A member (personal) or an administrator (shared with the organisation)
  • Authentication: API key or token
  • Credential type: service:vosfactures
  • Official API documentation: https://github.com/vosfactures/API
  • Rate limit applied by Loop & Roll: 60 requests per minute 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. In VosFactures, open “Settings” → “Account settings” → “Integration”.
  2. Copy the “API authorisation code”.
  3. Enter your account name (agence in agence.vosfactures.fr) and paste the code below.

Connection fields ​

FieldKindRequiredNotes
VosFactures account name (account)TextYesThe part before .vosfactures.fr in your account’s address.
API authorisation code (apiToken)Secret — never shown againYes

Add the connection ​

  1. In VosFactures, open Settings → Account settings → Integration and copy the API authorisation code.
  2. In Connections, Third-party services section, click Connect on the VosFactures card. Give it a Name and choose the Scope (Personal or Organisation).
  3. Enter the VosFactures account name (the part before .vosfactures.fr), paste the code, then click Create the connection.
  4. Click Configure, then Test the connection: GET /clients.json?per_page=1 proves both the account name and the code.

Calls used ​

ActionVosFactures call
Find a contactGET /clients.json?email= or ?name=
Create a contactPOST /clients.json
Create an invoice or a quotePOST /invoices.json
Get a document and its PDFGET /invoices/{id}.json, then GET /invoices/{id}.pdf
Send a document by emailPOST /invoices/{id}/send_by_email.json
TriggerGET /invoices.json?order=updated_at.desc

Pace ​

VosFactures publishes no rate limit: Loop & Roll sends at most 60 requests per minute per connection.

Common errors ​

Message or codeCauseWhat to do
Test: “the service rejects the key” (integration.unauthorized)Code revoked or mistyped, or an account name that does not match the code.Check the account name and copy the code again in Configure.
integration.rejectedVosFactures refused the request (missing field, invalid value).Fix the node settings.
integration.not_foundThe document does not exist for this account.Check the id and the connection chosen.
integration.rate_limitedVosFactures quota exceeded, after retries.Transient: the engine resumes the step later.
integration.unavailableNetwork or VosFactures 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.