English
Iopole
Issues an e-invoice received by email, searches and reads invoices, fetches their file, reads their statuses and queries the directory, on Iopole.
The Iopole node issues an e-invoice received by email through an approved platform for the 2026 French reform, searches and reads invoices, fetches their file, reads their status history and queries the directory.
See Iopole to create the connection.
At a glance
- Type:
iopole.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: Iopole
- Inputs:
main - Outputs:
main
Connection
This node needs a Iopole connection.
Parameters
connection
Iopole connection — The Iopole connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
invoice.send - Options:
invoice.send— Issue an e-invoiceinvoice.search— Search invoicesinvoice.get— Get an invoiceinvoice.download— Fetch an invoice fileinvoice.statusHistory— Get the status historydirectory.lookup— Look up a company in the directory
attachmentPosition
Attachment — The position of the Factur-X (PDF) or XML. Empty: the email’s first PDF or XML.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 10 characters at most
- Shown when:
actionisinvoice.send - Expressions:
{{ }}accepted
direction
Direction
- Type: One choice (
options) - Required: No
- Default:
any - Options:
any— Received and issuedINBOUND— ReceivedOUTBOUND— Issued
- Shown when:
actionisinvoice.search
query
Search criteria — Optional, Iopole syntax: customerIdentifier:"0002:404718421", invoice.createDate:>=2026-11-01…
- Type: Text (
string) - Required: No
- Default:
""(empty) - 500 characters at most
- Shown when:
actionisinvoice.search - Expressions:
{{ }}accepted
invoiceId
Invoice (Iopole ID)
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 36 characters at most
- Example:
{{ data.iopole.invoiceId }} - Shown when:
actionis one ofinvoice.get,invoice.download,invoice.statusHistory - Expressions:
{{ }}accepted
readable
Readable version (PDF) — Ticked: the readable PDF generated by Iopole. Unticked: the original file (PDF or XML).
- Type: Yes / no (
boolean) - Required: No
- Default:
true - Shown when:
actionisinvoice.download
siren
SIREN
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 14 characters at most
- Shown when:
actionisdirectory.lookup - Expressions:
{{ }}accepted
Outputs
main— Taken once the call to Iopole succeeds, whatever the action. An error response from Iopole fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.invoiceId }}—string. Issue: the Iopole ID (UUID) of the invoice submitted, to pass to the other actions.{{ data.<step>.filename }}—string. Issue: the file sent. Fetch: the file added to the run.{{ data.<step>.invoices }}—array of { invoiceId, direction, state, createDate, number, sellerName, buyerName, amount, lastStatusCode, lastStatusDate }. Search invoices: the invoices found, fifty at most.{{ data.<step>.count }}—number. Search invoices: the number of invoices returned.{{ data.<step>.invoice }}—{ invoiceId, direction, state, createDate, number, sellerName, buyerName, amount, lastStatusCode, lastStatusDate, raw }. Get an invoice: the invoice, with Iopole’s full response inraw.{{ data.<step>.attachmentPosition }}—number. Fetch an invoice file: its position in the run, to cite in Compose.{{ data.<step>.deduplicated }}—boolean. Fetch an invoice file: true when an identical file was already among the run’s attachments.{{ data.<step>.history }}—array of { date, code }. Get the status history: the invoice statuses.{{ data.<step>.lastStatusCode }}—string. Get the status history: the code of the latest status, empty if none.{{ data.<step>.entries }}—array of { name, identifierScheme, identifierValue, type }. Look up in the directory: the SIREN’s entries.{{ data.<step>.found }}—boolean. Look up in the directory: true when the SIREN is listed in the directory.{{ data.<step>.simulated }}—boolean. Issue: true when the sending was described instead of done (test run).{{ data.<step>.summary }}—string. The one-line summary in the member’s language (withsummaryKeyandsummaryParams).
Operations
The node has a single Action parameter (action). Each action calls the Iopole API with the connection’s token and customer-id.
- Issue an e-invoice (
invoice.send, the default): the Factur-X (PDF) or XML of the chosen Attachment; empty, the email’s first PDF or XML. Processing is asynchronous: the response gives the invoice ID, then track its status. - Search invoices (
invoice.search): Direction received and issued (default), received or issued, and optional Search criteria in Iopole’s syntax, for exampleinvoice.createDate:>=2026-11-01. - Get an invoice (
invoice.get) by its Iopole ID (a UUID). - Fetch an invoice file (
invoice.download): Readable version (PDF) ticked by default, the readable PDF generated by Iopole; unticked, the original file (PDF or XML). - Get the status history (
invoice.statusHistory): to look at an invoice; Iopole’s documentation forbids using it to poll in a loop. - Look up a company in the directory (
directory.lookup) by SIREN (nine digits).
Example
The invoicing software emails an invoice’s Factur-X. An issue node issues it; later in the workflow, a node reads its history:
text
action invoice.statusHistory
invoiceId {{ data.issue.invoiceId }}Tips
- Testing. Reads go out for real in a test run; issuing is only described (
simulatedis true). - File. A PDF or an XML only, 10 MB at most. No attachment of that type fails the step with
node_invalid_param, before any call. - Pre-production first. A pre-production connection only issues in pre-production: try your workflows there before production.
- Errors.
integration.unauthorized: the credentials were refused, check the connection and its environment.integration.rejected: Iopole refused the request (invalid file, malformed criteria), fix it.integration.rate_limitedandintegration.unavailableare retried automatically. An empty required parameter, an ID that is not a UUID or a SIREN that is not nine digits fails the step withnode_invalid_param, before any call. See Error handling.