The Spanish version is the authoritative reference. View in Spanish
SaveBillerThreshold
POST /SaveBillerThreshold
The Administration API URL for the environment (SBX or PRD) must be prepended as the base.
Defines the automatic sub-range refill threshold for each document type. If not explicitly set, a default 100-folio threshold applies.
Refill threshold
The threshold indicates the point at which the automatic refill is triggered. For example, with threshold: 10, when the folios available in the sub-range are ≤ 10, the manager will automatically refill a new sub-range with the size defined in SaveBillerConfiguration.
| Parameter | Type | Req. | Description |
|---|---|---|---|
billerThresholdId | string (UUID) | Optional | ID of an existing threshold; sent to update it instead of creating a new one |
countryId | string | Required | ISO country code |
accountCode | string | Required | Company tax ID (TaxId) |
billerId | string (UUID) | Required | Biller ID |
documentTypeId | int | Required | Document type the threshold applies to |
threshold | int | Required | Number of remaining folios that triggers the refill |
author | string | Required | User who performs the operation (audit) |
SaveBillerThreshold
{
"countryId": "cl",
"accountCode": "{{taxId}}",
"billerId": "{{billerId}}",
"documentTypeId": 33,
"threshold": 10,
"author": "user@empresa.com"
}