The Spanish version is the authoritative reference. View in Spanish
AddPrimaryRange
POST /AddPrimaryRange
Prepend the Administration API URL for the environment (SBX or PRD) as the base.
Registers a new numbering primary range in the account and, optionally, assigns it to one or more billers. The numeric and series fields depend on the country and the type of authorization.
| Parameter | Type | Req. | Description |
|---|---|---|---|
countryId | string | Required | ISO country code |
accountCode | string | Required | Company tax ID (TaxId) |
accountName | string | Required | Company legal name |
dateFrom | datetime | Required | Start of the range's validity |
dateTo | datetime | Required | End of the range's validity |
author | string | Required | User executing the operation (audit) |
source | string | Required | Origin of the operation (audit) |
data | string | Optional | Authorization document associated with the range (depends on country) |
billers | array (UUID) | Optional | Billers to which the range is assigned |
billingPoint | string | Optional | Billing point (depends on country) |
salePoint | string | Optional | Sale point (depends on country) |
primaryRangeType | int | Optional | Primary range type (depends on country) |
numberMin | int | Optional | Starting number of the range |
numberMax | int | Optional | Ending number of the range |
series | string | Optional | Range series (depends on country) |
documentTypeId | int | Optional | Document type the range applies to |
AddPrimaryRange
{
"countryId": "cl",
"accountCode": "{{taxId}}",
"accountName": "Nombre Empresa",
"documentTypeId": 33,
"numberMin": 1,
"numberMax": 1000,
"dateFrom": "{{timestamp}}",
"dateTo": "{{timestamp}}",
"author": "user@empresa.com",
"source": "Postman",
"billers": [
"{{billerId}}"
]
}Under construction
Response example and the exact combination of fields required per country pending validation.