current is the live definition the runtime uses. versions holds the recorded history snapshots (all when versions is omitted), newest first. A rule saved before history was recorded may have no versions yet.
Security
OAuth2(Required scopes: integration-setup.read)
- API EUhttps://api.cloud.hypatos.ai/v2/integration-setup/e-invoice-configuration-rules/{id}
- API UShttps://api.cloud.hypatos.com/v2/integration-setup/e-invoice-configuration-rules/{id}
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/integration-setup/e-invoice-configuration-rules/{id}
curl -i -X GET \
'https://api.cloud.hypatos.ai/v2/integration-setup/e-invoice-configuration-rules/41?versions=1%2C3' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The configuration rule.
Who made the change, e-mail for people, automation:<client_id> for API clients.
Example:"automation:acme-onboarding"
Who made the change, e-mail for people, automation:<client_id> for API clients.
Example:"automation:acme-onboarding"
The full definition is sent on every POST: omitted flags are false, omitted pdfMapping means none. In responses the flags are returned as stored (null for rules saved before a flag existed).
Response
{ "id": 7, "name": "ACME e-Invoices", "description": null, "companyId": "6081acde0377a83b93f05a10", "template": false, "currentVersion": 2, "projectIds": [ "64b7f0c2a1e4d5f6a7b8c9d0" ], "createdAt": "2026-10-02T09:20:00.000Z", "createdBy": "automation:acme-onboarding", "updatedAt": "2026-11-20T10:05:00.000Z", "updatedBy": "automation:acme-onboarding", "current": { "executeForPdf": true, "mergeEmbeddedPdf": false, "extractFromRegularPdf": false, "mergePdfA3Attachments": false, "pdfMapping": { … }, "lines": [ … ], "projectIds": [ … ] }, "versions": [ { … }, { … } ] }