Skip to Content

Bolivia SIAT Inbound

74.55 74.55

Instant digital delivery after payment confirmation.
License: OPL-1, every download is watermarked.
Terms and Conditions

Bolivia SIAT Inbound

Parse supplier SIAT fiscal documents, validate the CUF, reconcile to vendor bills

A purpose-built tool for Bolivian taxpayers that receive electronic fiscal documents from their suppliers. It reads the supplier's SIAT XML (factura electronica and computarizada), decodes and validates the CUF (Codigo Unico de Factura) with the official Modulo 11 self-check, verifies the issuer NIT, and automatically reconciles each document against your vendor bills. A pure parser and reconciliation engine - it does not transmit anything to the SIN.

What it does

SIAT XML parser

Reads the canonical SIAT document structures (facturaElectronicaCompraVenta, facturaComputarizadaCompraVenta, export and sector variants), namespace-tolerant, using the Python standard library only. Header, parties, totals, payment method, currency and all detail lines are extracted into a clean Odoo document.

CUF decode & validation

The 54-digit CUF is decoded into its nine component fields (issuer NIT, date-time, branch, modality, emission type, invoice type, document sector, invoice number, sales point) and its Modulo 11 self-check digit is verified. Both the raw numeric form and the Base-16 presentation form are accepted and round-tripped.

Automatic reconciliation

A weighted scoring engine matches each parsed document to the right vendor bill using CUF, issuer NIT, invoice number, total amount (within a configurable tolerance) and issue date. Matches are graded as reconciled, partial or unmatched, with a transparent per-criterion breakdown.

IVA & coherence checks

Computes the recoverable 13% IVA credito fiscal on credit-fiscal invoices, and validates that the document's line totals reconcile to its declared montoTotal and that the CUF-embedded NIT matches the document header.

Validation rules

CodeCheck
CUF-01/02CUF is well-formed and exactly 54 numeric digits (or valid Base-16).
CUF-03Modulo 11 self-check digit is correct.
CUF-04/05/06Modality, emission type and invoice type belong to the SIN catalogues.
CUF-07The CUF date-time field is a valid timestamp.
SIAT-10The NIT embedded in the CUF matches the document nitEmisor.
SIAT-11/12Issuer NIT and buyer document are structurally valid.
SIAT-13Detail line totals reconcile to the header montoTotal.

Key features

  • Batch import wizard - drop in one or many supplier SIAT XML files.
  • Per-document and per-vendor-bill reconciliation buttons, plus a scheduled auto-reconcile job.
  • CUF field on vendor bills with a one-click validation action.
  • Bolivia NIT field on partners and the company, with structural validation.
  • Decoded SIAT catalogues (modality, emission, document sector, payment method, currency) shown in clear labels.
  • Full audit trail: raw XML stored, validation results, match score and chatter history.

Scope & boundary

This module is a pure parser and reconciliation engine for documents you have already received from your suppliers. It does not connect to, authenticate against, or transmit anything to the SIN / SIAT platform, and it is not a certified invoicing system. All processing happens inside your own Odoo database.

Screenshots

Inbound Documents

Inbound Documents

Import Xml

Import Xml

Update date: 2026-07-02