FOLIOS_EXHAUSTED: no folios (CAF) left for that document type
Checked on 2026-11-25 against the SharkPOS API code · Markdown
FOLIOS_EXHAUSTED · HTTP 409
Message you may see:
No quedan folios disponibles para este tipo de boleta. (No folios are available for this type of boleta.)Folio range exhausted for this document type.
What it means
The issuing RUT (Chilean tax ID) has no folios available for the document type you are trying to issue. Each tax document needs a folio (its unique number) from a CAF (Código de Autorización de Folios, the folio authorization file) issued by the SII.
Why it happens
- The last authorized range of folios was used up.
- The SII did not hand out new folios (for example, the RUT is still enrolled in e-Boleta or the signer is not authorized).
How to fix it
- With automatic folios (the default mode), SharkPOS requests a new range from the SII: retry in a few minutes with the same Idempotency-Key.
- If you upload your own CAF files, upload a new range before issuing again.
- If the SII rejects the folio request, check e-Boleta and signer not authorized.
Should you retry? With automatic folios, yes: in a few minutes and with the same key.
All API errors are JSON: {"status": "error", "code": "...", "message": "...", "solution": "..."}. The code is stable; message and solution are in Spanish. Full table in the guide for agents.
Related
- The SII does not hand out boleta folios: the RUT is still in e-Boleta
- The SII does not hand out folios: the certificate holder is not authorized
Integrating receipts or invoices? Try it in the sandbox, without touching the real SII.
Try it today in the sandbox
Get a sandbox API key: a test company with certificate and folios already loaded and a simulated SII. When you are ready, each RUT costs CLP 5,990 a month (VAT included) with 20,000 documents a month.