Spain B2G: Invoiced Quantity
Spain uses unique unit codes for units of measurement.
Use the InvoicedQuantity
sub-element of the InvoiceLine element to model this information. Use the values listed in the Restrictions section of this topic.
Elements
The following element is grouped in the Invoice/InvoiceLine
element:
Name (Technical Name) | Cardinality | Description |
---|---|---|
Invoiced Quantity (InvoicedQuantity ) | 1..n | |
Invoiced Quantity - Unit of Measure (InvoicedQuantity @unitCode ) | 1..n |
Restrictions
You use values from the X list here to specify the unit of measure. You must prefix this value with VRBL:ES
as outlined in the following table:
VRBL Value | UNECERec20 | Description |
---|---|---|
VRBL:ES:01 | Not applicable | Units |
VRBL:ES:02 | HUR | Hours |
VRBL:ES:03 | KGM | Kilograms |
VRBL:ES:04 | LTR | Litres |
VRBL:ES:05 | Not applicable | Other |
VRBL:ES:06 | XBX | Boxes |
VRBL:ES:07 | XPU | Trays |
VRBL:ES:08 | XBA | Barrels |
VRBL:ES:09 | Not applicable | Jerricans |
VRBL:ES:10 | XBG | Bags |
VRBL:ES:11 | Not applicable | Carboys |
VRBL:ES:12 | Not applicable | Bottles |
VRBL:ES:13 | XCI | Canisters |
VRBL:ES:14 | Not applicable | Tetra bricks |
VRBL:ES:15 | CLT | Centilitres |
VRBL:ES:16 | CMT | Centimetres |
VRBL:ES:17 | XBI | Bins |
VRBL:ES:18 | DZN | Dozens |
VRBL:ES:19 | XCS | Cases |
VRBL:ES:20 | Not applicable | Demijohns |
VRBL:ES:21 | GRM | Grams |
VRBL:ES:22 | KMT | Kilometres |
VRBL:ES:23 | Not applicable | Cans |
VRBL:ES:24 | Not applicable | Bunches |
VRBL:ES:25 | MTR | Metres |
VRBL:ES:26 | MMT | Millimetres |
VRBL:ES:27 | Not applicable | 6-packs |
VRBL:ES:28 | XPK | Packages |
VRBL:ES:29 | PIN | Portions |
VRBL:ES:30 | XRO | Rolls |
VRBL:ES:31 | XEN | Envelopes |
VRBL:ES:32 | XTB | Tubs |
VRBL:ES:33 | MTQ | Cubic metre |
VRBL:ES:34 | SEC | Second |
VRBL:ES:35 | WTT | Watt |
Example
<Invoice>
<!-- code omitted for clarity -->
<cac:InvoiceLine>
<!-- code omitted for clarity -->
<cbc:InvoicedQuantity unitCode="VRBL:ES:33">14</cbc:InvoicedQuantity>
<!-- code omitted for clarity -->
</cac:InvoiceLine>
</Invoice>
Updated 11 days ago