/ubl:Invoice/cac:InvoiceLine/cac:Price

Invoice Line Price Group

Context ID INV1434
Cardinality 0..1
Usage M

Description

The price of the item associated with this invoice line.

A group of business terms providing information about the price applied for the goods and services invoiced on the invoice line.

In Polish KSeF FA(3) invoices, in the Price Details section it is mandatory to provide the Item Net Price (cbc:PriceAmount) for AR invoices. Additionally it is recommended to always provide the Item Gross Price. This is the item price before any allowance and charges on price level. Allowance and charge can only be applied directly on the price.

Child elements

Cardinality Usage Description Element
0..1 - Invoice Line Price Extensions Group cec:UBLExtensions
1..1 M Invoice Line Price Amount
The amount of the price.
cbc:PriceAmount
0..n O Invoice Line Price Allowance Group
An allowance or charge associated with this price.
cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']

Details

vrbl-invoice-pl-b2b-3p0

Note: There is no allowance and charge on line level in FA(3). Do not use the Invoice Line Allowance and Charge group. Provide discounts on price level instead. That means that the Invoice Line Net Amount (cbc:LineExtensionAmount) must always be the Item Net Price cbc:PriceAmount multiplied by the Invoiced Quantity cbc:InvoicedQuantity.

Example: No price allowance and charge, Item Gross Price equals Item Net Price

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- Code omitted for clarity -->
        <cac:Price>
            <!-- Code omitted for clarity -->
            <cec:UBLExtensions>
                <cec:UBLExtension>
                    <cec:ExtensionContent>
                        <vrbl:PriceExtension>
                            <!-- Item Gross Price -->
                            <vrbl:PriceAmountBeforeAllowanceCharge currencyID="PLN">1000</vrbl:PriceAmountBeforeAllowanceCharge>
                        </vrbl:PriceExtension>
                    </cec:ExtensionContent>
                </cec:UBLExtension>
            </cec:UBLExtensions>
            <cbc:PriceAmount currencyID="PLN">1000</cbc:PriceAmount>
        </cac:Price>
    </cac:InvoiceLine>
</ubl:Invoice>

Example: Allowance on price level. The Invoice Line Net Amount is calculated by the Item Net Price cbc:PriceAmount multiplied by the Invoiced Quantity cbc:InvoicedQuantity.

<ubl:Invoice>
    <!-- code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- code omitted for clarity -->
        <cbc:InvoicedQuantity unitCode="H87">2</cbc:InvoicedQuantity>
        <cbc:LineExtensionAmount currencyID="PLN">1600.00</cbc:LineExtensionAmount>
        <!-- code omitted for clarity -->
        <cac:Price>
            <!-- Code omitted for clarity -->
            <cec:UBLExtensions>
                <cec:UBLExtension>
                    <cec:ExtensionContent>
                        <vrbl:PriceExtension>
                            <!-- Item Gross Price -->
                            <vrbl:PriceAmountBeforeAllowanceCharge currencyID="PLN">1000.00</vrbl:PriceAmountBeforeAllowanceCharge>
                        </vrbl:PriceExtension>
                    </cec:ExtensionContent>
                </cec:UBLExtension>
            </cec:UBLExtensions>
            <cbc:PriceAmount currencyID="PLN">800.00</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="H87">1.00</cbc:Value>
            <cac:AllowanceCharge>
                <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
                <cbc:Amount currencyID="PLN">200.00</cbc:Amount>
                <cbc:BaseAmount currencyID="PLN">1000.00</cbc:BaseAmount>
            </cac:AllowanceCharge>
        </cac:Price>
        <!-- code omitted for clarity -->
    </cac:InvoiceLine>
</ubl:Invoice>

Rules

Rule ID Error Message