facturaBoAdministrar
Description
Section titled “Description”Manages your factura.bo account: see credits, modality and status; credit usage per day or month; sync the CUIS and CUFD (recommended daily at 00:05 Bolivia time, the CUFD expires every 24 h); list, create and close points of sale; list branches; and see the public status of the API and the SIAT.
Part of the Bolivia Fiscal Hub as an alternative to connecting directly to the SIAT: factura.bo (SimplifyIT S.R.L.) is a provider that builds and signs the XML and sends it to the SIN. Node: «Cuenta, sincronización y puntos de venta».
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | facturabo credential |
| operation | select | No | Operation — account, usage, sync, list_pos, create_pos, close_pos, branches, status |
| from | text | No | From (usage) |
| to | text | No | To (usage) |
| group_by | select | No | Group usage by — "", dia, mes |
| nit | text | No | Company NIT (sync) — Empty = the credential one |
| system_code | text | No | SIAT system code (sync) — Empty = the credential one |
| branch_code | number | No | Branch (SIAT code) — 0 = head office. Empty = the credential default branch |
| point_of_sale_code | number | No | Point of sale (SIAT code) — 0 = main point. Empty = the credential one |
| name | text | No | Point of sale name |
| pos_type | select | No | Point of sale type — "", 1, 2 |
| reference | text | No | Reference (idempotency) — Reuse it on retries to recover the assigned code |
| pos_code | number | No | Point of sale code (close) |
| output_key | text | No | Output key — The result is added to data[key] keeping the rest of the data |
Credentials
Section titled “Credentials”This module requires a credential of type facturabo with the fields:
- API key: get it at app.factura.bo → More → API Key
- Environment: testing (sandbox, pilot SIAT) or production; the key does not reveal it, you choose
- NIT and SIAT system code: to sync CUIS/CUFD and catalogs
- Default branch and point of sale: 0 = head office / main point
- Webhook secret (
whsec_…): to verify event signatures
Output
Section titled “Output”{ "success": true, "operation": "account", "data": { "creditos": 120, "modalidad": 1 }, "environment": "production"}The output is stored under the configured key (output_key, default facturabo) and the rest of data is kept. On error: error.message, error.type and, where applicable, status and siat_code.
Usage Example
Section titled “Usage Example”{ "credentials_id": "cred-facturabo", "operation": "sync", "branch_code": 0, "point_of_sale_code": 0}- “Sync” gets the CUIS and CUFD; the CUFD expires every 24 h, so schedule it daily at 00:05 (Bolivia time). A 123 rejection means an expired CUFD.
- Points of sale are created with a stable
referencia: reuse it on retries to recover the assigned code. Demo accounts get simulated codes. - “API and SIAT status” is public (the key is not sent).
Related Nodes
Section titled “Related Nodes”- facturaBoCatalogo - Catálogos del SIAT
- facturaBoContingencia - Contingencia (SIAT caído)