Poland KSF: Invoiced Quantity Unit of Measure (FA(3))

You can model the quantity and the unit of measure.

For Poland KSF, the unit of measure for an invoiced quantity is a free-text field. It is also optional because it can be omitted in certain cases.

For incoming invoices, the original free text value is used.

For outgoing invoices, the Invoiced Quantity Unit of Measure (Invoice/InvoiceLine/InvoicedQuantity @unitCode) is mandatory in VRBL, and we recommend using the UN/ECE Recommendation 20 with Rec 21 extension values.

Elements

Use the InvoicedQuantity element to model this information:

ElementCardinalityDescription
Invoiced Quantity (Invoice/InvoiceLine/InvoicedQuantity)1..1Specify the quantity of the item.
Invoiced Quantity Unit of Measure (Invoice/InvoiceLine/InvoicedQuantity @unitCode)1..1Specify the unit code that identifies the unit of measure. Use a value from here.

Examples

Example containing an UN/ECE Recommendation 20 with Rec 21 extension code

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- Code omitted for clarity -->
        <cbc:InvoicedQuantity unitCode="H87">100</cbc:InvoicedQuantity>
        <!-- Code omitted for clarity -->
    </cac:InvoiceLine>
</ubl:Invoice>        

Example containing a free-text description of a code

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:InvoiceLine>
        <!-- Code omitted for clarity -->
        <cbc:InvoicedQuantity unitCode="sztuki">100</cbc:InvoicedQuantity>
        <!-- Code omitted for clarity -->
    </cac:InvoiceLine>
</ubl:Invoice>