VF-1203

Si ClaveRegimen es 07 OperacionExenta no puede ser E2, E3, E4 y E5 o CalificacionOperacion no puede ser S2, N1, N2.

In English With regime 07 (cash accounting), CalificacionOperacion may not be S2, N1 or N2, nor OperacionExenta E2, E3, E4 or E5.

error: the document is invalid

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.

Message

[1203] Si ClaveRegimen es 07 OperacionExenta no puede ser E2, E3, E4 y E5 o CalificacionOperacion no puede ser S2, N1, N2.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
Test
not($vatlike and $key = '07') or not($kind = ('S2', 'N1', 'N2') or $exempt = ('E2', 'E3', 'E4', 'E5'))

Checked with VERI*FACTU invoice records