VRBL-INV-DE-XR-4

Basic Info

Rule The Invoice Type Code allowed: Partial invoice, Commercial invoice, Corrected invoice, Self-billed invoice, Partial construction invoice, Partial final construction invoice and Final construction invoice
Context /ubl:Invoice
Pattern vrbl-invoice-de-xr-3p0
Severity fatal

Implementation

contains($VRBL-CL-DE-RX-InvoiceTypeCode, concat(' ', normalize-space($Invoice/cbc:InvoiceTypeCode), ' '))