VF-1183

El campo FacturaSimplificadaArticulos7273 solo se podrá rellenar con S si TipoFactura es de tipo F1 o F3 o R1 o R2 o R3 o R4.

In English FacturaSimplificadaArt7273 may only be S when TipoFactura is F1, F3, R1, R2, R3 or R4.

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

[1183] El campo FacturaSimplificadaArticulos7273 solo se podrá rellenar con S si TipoFactura es de tipo F1 o F3 o R1 o R2 o R3 o R4.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
Test
not(normalize-space(*:FacturaSimplificadaArt7273) = 'S') or $type = ('F1', 'F3', 'R1', 'R2', 'R3', 'R4')

Checked with VERI*FACTU invoice records