English
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.
- In VosFactures, open “Settings” → “Account settings” → “Integration”.
- Copy the “API authorisation code”.
- Enter your account name (
agenceinagence.vosfactures.fr) and paste the code below.
Connection fields
| Field | Kind | Required | Notes |
|---|---|---|---|
VosFactures account name (account) | Text | Yes | The part before .vosfactures.fr in your account’s address. |
API authorisation code (apiToken) | Secret — never shown again | Yes |
Add the connection
- In VosFactures, open Settings → Account settings → Integration and copy the API authorisation code.
- In Connections, Third-party services section, click Connect on the VosFactures card. Give it a Name and choose the Scope (Personal or Organisation).
- Enter the VosFactures account name (the part before
.vosfactures.fr), paste the code, then click Create the connection. - Click Configure, then Test the connection:
GET /clients.json?per_page=1proves both the account name and the code.
Calls used
| Action | VosFactures call |
|---|---|
| Find a contact | GET /clients.json?email= or ?name= |
| Create a contact | POST /clients.json |
| Create an invoice or a quote | POST /invoices.json |
| Get a document and its PDF | GET /invoices/{id}.json, then GET /invoices/{id}.pdf |
| Send a document by email | POST /invoices/{id}/send_by_email.json |
| Trigger | GET /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 code | Cause | What 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.rejected | VosFactures refused the request (missing field, invalid value). | Fix the node settings. |
integration.not_found | The document does not exist for this account. | Check the id and the connection chosen. |
integration.rate_limited | VosFactures quota exceeded, after retries. | Transient: the engine resumes the step later. |
integration.unavailable | Network or VosFactures outage, after retries. | Transient: the engine resumes the step later. |
integration.connection_unusable | The connection was deleted, is not active or is out of your scope. | Pick a valid connection in the node. |
Nodes that use this connection
- VosFactures — new or changed document —
trigger.vosfactures - VosFactures —
vosfactures.api