Receipt Types (ReceiptType) classify official electronic and physical transaction vouchers according to Peruvian SUNAT standards (e.g., 01 Factura Electrónica, 03 Boleta de Venta, 07 Nota de Crédito, 08 Nota de Débito, 09 Guía de Remisión Remitente).
/v1/base/common/receipt-types
| Header | Type | Description |
|---|---|---|
Authorization |
string |
Bearer <token> OAuth2 token. |
x-app-stage |
string |
Current tenant stage (dev, staging, prod). |
x-app-uid |
string |
Authenticated user UUID. |
| Parameter | Type | Default | Description |
|---|---|---|---|
companyId |
integer |
Required | Operational company ID. |
Retrieve all active voucher types supported by the company.
GET /v1/base/common/receipt-types?companyId=1
200 OK{
"success": true,
"message": "Proceso realizado correctamente",
"data": [
{
"id": 1,
"code": "01",
"name": "FACTURA ELECTRÓNICA",
"short_name": "FAC",
"sunat_code": "01",
"affects_inventory": true,
"requires_tax_id": true,
"status": "A"
},
{
"id": 2,
"code": "03",
"name": "BOLETA DE VENTA ELECTRÓNICA",
"short_name": "BOL",
"sunat_code": "03",
"affects_inventory": true,
"requires_tax_id": false,
"status": "A"
},
{
"id": 3,
"code": "07",
"name": "NOTA DE CRÉDITO",
"short_name": "NC",
"sunat_code": "07",
"affects_inventory": true,
"requires_tax_id": true,
"status": "A"
},
{
"id": 4,
"code": "09",
"name": "GUÍA DE REMISIÓN REMITENTE",
"short_name": "GRR",
"sunat_code": "09",
"affects_inventory": true,
"requires_tax_id": true,
"status": "A"
}
]
}
Retrieve receipt types with all authorized series assigned across branches.
GET /v1/base/common/receipt-types/with-children?companyId=1
200 OK{
"success": true,
"data": [
{
"id": 1,
"code": "01",
"name": "FACTURA ELECTRÓNICA",
"series": [
{ "id": 10, "series": "F001", "branch_id": 1, "current_number": 14502 },
{ "id": 11, "series": "F002", "branch_id": 2, "current_number": 8320 }
]
}
]
}
Synchronize document definitions and series numbering from SAP Business One.
POST /v1/base/common/receipt-types/sync?companyId=1
200 OK{
"success": true,
"message": "Tipos de comprobantes sincronizados exitosamente"
}