The Spanish version is the authoritative reference. View in Spanish
AddPrimaryRangeFile
POST /AddPrimaryRangeFile
Prepend the Administration API URL for the environment (SBX or PRD) as the base.
Registers a primary range from the authorization file issued by the tax authority, Base64-encoded. The typical case is the SII CAF in Chile 🇨🇱: the manager extracts the authorized numbering, validity period and document type from the file.
| Parameter | Type | Req. | Description |
|---|---|---|---|
countryId | string | Required | ISO country code |
accountCode | string | Required | Company tax ID (TaxId) |
FileContenBase64 | string | Required | Base64-encoded content of the authorization file |
The authorization file is sensitive information
The CAF includes the private key used to sign the authorized numbering. Transmit it only over secure channels and do not include it in logs, tickets or documentation.
AddPrimaryRangeFile
{
"countryId": "cl",
"accountCode": "{{taxId}}",
"FileContenBase64": "{{archivoAutorizacionBase64}}"
}Under construction
Response example pending validation.