Skip to main content

DGII 17 — Totals do not match line detail

Totales inconsistentes con el detalle de líneas

FieldValue
DGII code17
CategoryValidation
HTTP status422
RetryableNo
Tenant fixableYes
Problem.typehttps://errors.api.erply.pro/dgii-17-totales-inconsistentes

Probable cause

The sum of the lines (subtotal/ITBIS/total) does not match the declared totals. ERPly Pro performs this validation locally before submission; a failure here indicates a client bug.

How to fix

  • Review the calculation of Subtotal, MontoTotalITBIS and MontoTotal.
  • ERPly Pro validates this maths locally before submission; a 17 indicates a client bug or a rounding discrepancy.

Example application/problem+json response

{
"type": "https://errors.api.erply.pro/dgii-17-totales-inconsistentes",
"title": "Totals do not match line detail",
"status": 422,
"detail": "DGII code 17: Totals do not match line detail",
"instance": "/v1/invoices",
"correlationId": "1-65fa7c3a-6f9c2d8e0a1b2c3d4e5f6789",
"dgii": {
"code": "17",
"trackId": "20260501-DGII-9988"
}
}

Source

DGII PSFE Technical Spec + Norma 06-04. Exact citation pending review by the compliance specialist.