/ubl:Invoice/cac:InvoiceLine/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceLineExtension/vrbl:PriceAfterLineItemAllowanceCharge

Invoice Line Price After Line Item Allowance Charge

Denmark | VRBL-Invoice-DK-OIOUBL-2p0
Context ID INV1166
Usage C
Usage Description

Required when the line contains allowance and charge.

Description

A class to describe a price, expressed in a data structure containing multiple properties (compare with UnstructuredPrice).

In OIOUBL DK, the Item Price considering any allowance or charge on line level.

Child elements
Usage Element Description Cardinality
M cbc:PriceAmount Invoice Line Price After Line Item Allowance Charge Price Amount

The amount of the price.

1..1
Details

vrbl-invoice-dk-oioubl-2p0

"In OIOUBL, line-level allowances and charges are purely informative and do not affect the line net amount cbc:LineExtensionAmount. The calculation is strictly: Line Net Amount = Item Net Price * Invoiced Quantity.

By contrast, VRBL calculates the line net amount by factoring in line adjustments
Line Net Amount = Item Net Price * Invoiced Quantity + Charges - Allowances

To bridge this discrepancy and generate a valid OIOUBL invoice from VRBL, handle line-level adjustments using one of the following approaches:

Standard Method (Global VRBL Template):

Populate cbc:PriceAmount with the base Item Net Price, export the line-level allowances/charges, and provide the Item Price After Line-Level Allowance/Charge. Multiplying this adjusted unit price by the invoiced quantity yields the correct cbc:LineExtensionAmount, allowing OIOUBL to treat the explicit line adjustments as informative metadata. If no line adjustments exist, this field is identical to cbc:PriceAmount and can be omitted.

Alternative Method (Pre-adjusted Unit Price):

Directly include all line allowances and charges within the unit price in cbc:PriceAmount. In this case, omit both the line-level allowance/charge elements and the separate adjusted unit price to maintain valid VRBL calculations."

Example: DK_OIOUBL_invoice_380_LineLevelAllowance.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:InvoiceLineExtension>
            <vrbl:PriceAfterLineItemAllowanceCharge>
              <cbc:PriceAmount currencyID="DKK">1000</cbc:PriceAmount>
            </vrbl:PriceAfterLineItemAllowanceCharge>
          </vrbl:InvoiceLineExtension>
        </ext:ExtensionContent>
      </ext:UBLExtension>
    </ext:UBLExtensions>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>