VF-1185

El campo FacturaSinIdentifDestinatarioArt61d solo se podrá rellenar con S si TipoFactura es de tipo F2 o R5.

In English FacturaSinIdentifDestinatarioArt61d may only be S when TipoFactura is F2 or R5.

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

[1185] El campo FacturaSinIdentifDestinatarioArt61d solo se podrá rellenar con S si TipoFactura es de tipo F2 o R5.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
Test
not(normalize-space(*:FacturaSinIdentifDestinatarioArt61d) = 'S') or $type = ('F2', 'R5')

Checked with VERI*FACTU invoice records