/ubl:Invoice/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceExtension

Invoice Extension

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV0005
Usage M

Description

A group containing VRBL extensions on the document level.

Child elements
Usage Element Description Cardinality
O vrbl:InvoiceSeries Invoice Series 0..1
M cbc:LanguageID Language ID 0..1
O vrbl:PlaceOfIssue Place of Issue 0..1
M vrbl:RoutingDetails Routing Details 1..1
Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <ext:UBLExtensions>
    <ext:UBLExtension>
      <ext:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:InvoiceSeries>ES-B2G-SER005</vrbl:InvoiceSeries>
          <cbc:LanguageID>es</cbc:LanguageID>
          <vrbl:RoutingDetails>
            <vrbl:Sender>ESB00000000</vrbl:Sender>
            <vrbl:Receiver>FACE-FACTURA-E</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </ext:ExtensionContent>
    </ext:UBLExtension>
  </ext:UBLExtensions>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-4 The Language ID must exist within the Invoice Extension.
VRBL-INV-ES-B2G-5 The value of the Language ID must be contained in ISO 639-1:2002 Alpha-2 [VRBL-CL-LanguageID].