VF-1255

Si FechaOperacion (FechaExpedicionFactura si no se informa FechaOperacion) es mayor o igual que 01/02/2021 no se permite el valor 'GB' para Identificaciones NIF-IVA

In English For operations from 1 February 2021, an EU VAT number may not start with GB; Northern Ireland uses XI.

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

[1255] Si FechaOperacion (FechaExpedicionFactura si no se informa FechaOperacion) es mayor o igual que 01/02/2021 no se permite el valor 'GB' para Identificaciones NIF-IVA

Test
$otype != '02' or not(starts-with($oid, 'GB')) or empty($odate) or $odate lt xs:date('2021-02-01')

Checked with VERI*FACTU invoice records