Other charges (OtrosCargos)
OtrosCargos are resumen-level charges added to a document — separate from
line items and their taxes. The classic case is a restaurant’s 10% service fee,
which by law is an OtrosCargos (code 06), never baked into line prices.
Up to 15 charges per document (XSD OtrosCargosType maxOccurs="15"). The sum
flows into <TotalOtrosCargos> and adds to <TotalComprobante> — it does not
add to TotalGravado / TotalExento / TotalVenta / TotalImpuesto.
Codes (tipoDocumento)
Section titled “Codes (tipoDocumento)”| Code | Meaning | Line-less doc allowed |
|---|---|---|
01 |
Contribución parafiscal | — |
02 |
Timbre de la Cruz Roja | — |
03 |
Timbre del Cuerpo de Bomberos | — |
04 |
Cobro de un tercero | ✔ |
05 |
Costos de exportación | — |
06 |
Impuesto de servicio 10% | — |
07 |
Timbre de Colegios Profesionales | — |
08 |
Depósitos de garantía | ✔ |
09 |
Multas o penalizaciones | ✔ |
10 |
Intereses moratorios | ✔ |
99 |
Otros — requires tipoDocumentoOtros (5–100 chars) |
— |
{ "otherCharges": [ { "tipoDocumento": "06", "detalle": "Impuesto de servicio 10% sobre subtotal de servicios", "porcentajeOc": 10, "montoCargo": 5000 } ]}| Field | Required | Notes |
|---|---|---|
tipoDocumento |
✔ | Code from the table above |
detalle |
✔ | Description, max 160 chars |
montoCargo |
✔ | The charge amount (decimal 18,5) |
porcentajeOc |
— | Informational percent; passthrough (Hacienda does not verify montoCargo = base × porcentajeOc) |
tipoDocumentoOtros |
when 99 |
5–100 chars |
terceroIdentificationType + terceroIdentificationNumber |
for third-party charges (04/07) |
Emitted as IdentificacionTercero only when both are present |
nombreTercero |
— | 5–100 chars |
Third-party charges (04 / 07)
Section titled “Third-party charges (04 / 07)”When the charge is collected on behalf of a third party (a professional college stamp, a third-party cobro), include the tercero identity. The dashboard auto-looks these up via Hacienda’s padrón; over the API you supply them directly:
{ "tipoDocumento": "07", "detalle": "Timbre Colegio de Abogados", "montoCargo": 2500, "terceroIdentificationType": "02", "terceroIdentificationNumber": "3007045202", "nombreTercero": "Colegio de Abogados y Abogadas"}Line-less documents
Section titled “Line-less documents”Codes 04, 08, 09, 10 let you issue a document with no product/service
lines — the charge is the whole document (e.g. a pure penalty or interest
note). With any other code, a charges-only document is rejected with
OTHER_CHARGES_REQUIRES_LINE.
Not allowed on REP
Section titled “Not allowed on REP”OtrosCargos are supported on FE / TE / NC / ND / FEC / FEE. On a Recibo
Electrónico de Pago (docType: '10') they return
OTHER_CHARGES_NOT_ALLOWED_FOR_DOCTYPE.
Totals
Section titled “Totals”The formula the server applies:
TotalComprobante = TotalVentaNeta + TotalImpuesto + TotalOtrosCargos − TotalIVADevuelto