VF-2005
El campo ImporteTotal tiene un valor incorrecto para el valor de los campos BaseImponibleOimporteNoSujeto, CuotaRepercutida y CuotaRecargoEquivalencia suministrados (…, …).
In English ImporteTotal is more than 10 euros away from the sum of the breakdown's bases, tax amounts and equivalence surcharges. The record is accepted with errors to correct. Not checked with regimes 03, 05, 06, 08 and 09.
Why it fails
- Withholding (IRPF) taken off the total: ImporteTotal is the invoice total before withholding.
- A breakdown line missing, such as the exempt or not subject part of the invoice.
How to fix it
Give every part of the invoice in the breakdown, and ImporteTotal as bases plus tax plus surcharge, without subtracting withholding.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
[2005] El campo ImporteTotal tiene un valor incorrecto para el valor de los campos BaseImponibleOimporteNoSujeto, CuotaRepercutida y CuotaRecargoEquivalencia suministrados (…, …).
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
$special or abs($total - $sum) le 10
Checked with VERI*FACTU invoice records