/ubl:Invoice/cac:InvoiceLine

Invoice Line

Türkiye | VRBL-Invoice-TR-1p2
Context ID INV1150
Usage M+

Description

Group for invoice line details.

Child elements
Usage Element Description Cardinality
M cbc:ID Invoice Line ID

An identifier for this invoice line.

1..1
M cbc:InvoicedQuantity Invoiced Quantity

The quantity (of items) on this invoice line.

0..1
M cbc:LineExtensionAmount Invoice Line Net Amount

The total amount for this invoice line, including allowance charges but net of taxes.

1..1
O cac:Delivery Invoice Line Delivery Group

A delivery associated with this invoice line.

0..n
O cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode] Invoice Line Invoice Tax

A total amount of taxes of a particular kind applicable to this invoice line.

0..n
O cac:WithholdingTaxTotal Invoice Line Withholding Tax

A reference to a TaxTotal class describing the amount that has been withhold by the authorities, e.g. if the creditor is in dept because of non paid taxes.

0..n
M cac:Item Item Information

The item associated with this invoice line.

1..1
M cac:Price Price Details

The price of the item associated with this invoice line.

0..1
Details

Example: TR_invoice_ihracat_export.xml

<ubl:Invoice schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 file:///C:/Users/FA/Documents/e-invoicing-format/vrbl/maindoc/UBL-Invoice-2.4.xsd">
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="TRY">250</cbc:LineExtensionAmount>
    <cac:Delivery>
      <cac:DeliveryLocation>
        <cac:Address>
          <cbc:Room/>
          <cbc:StreetName/>
          <cbc:BuildingName/>
          <cbc:BuildingNumber/>
          <cbc:CitySubdivisionName>teslimat adresi ilçe</cbc:CitySubdivisionName>
          <cbc:CityName>teslimat adresi şehir</cbc:CityName>
          <cbc:PostalZone/>
          <cbc:Region/>
          <cbc:District/>
          <cac:Country>
            <cbc:IdentificationCode>ES</cbc:IdentificationCode>
          </cac:Country>
        </cac:Address>
      </cac:DeliveryLocation>
      <cac:DeliveryTerms>
        <cbc:ID schemeID="INCOTERMS">CFR</cbc:ID>
      </cac:DeliveryTerms>
      <cac:Shipment>
        <cbc:ID>1</cbc:ID>
        <cac:GoodsItem>
          <cbc:RequiredCustomsID>121212121212</cbc:RequiredCustomsID>
        </cac:GoodsItem>
        <cac:ShipmentStage>
          <cbc:TransportModeCode>3</cbc:TransportModeCode>
        </cac:ShipmentStage>
        <cac:TransportHandlingUnit>
          <cac:ActualPackage>
            <cbc:ID/>
            <cbc:Quantity>5</cbc:Quantity>
            <cbc:PackagingTypeCode>BA</cbc:PackagingTypeCode>
          </cac:ActualPackage>
        </cac:TransportHandlingUnit>
      </cac:Shipment>
    </cac:Delivery>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="TRY">0</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="TRY">250</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="TRY">0</cbc:TaxAmount>
        <cac:TaxCategory>
          <cbc:ID>E</cbc:ID>
          <cbc:Percent>0</cbc:Percent>
          <cbc:TaxExemptionReasonCode>VRBL:TR:301</cbc:TaxExemptionReasonCode>
          <cbc:TaxExemptionReason>11/1-a Mal İhracatı</cbc:TaxExemptionReason>
          <cac:TaxScheme>
            <cbc:ID>VRBL:TR:0015</cbc:ID>
            <cbc:Name>KDV</cbc:Name>
          </cac:TaxScheme>
        </cac:TaxCategory>
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:Item>
      <cbc:Name>1.kalem</cbc:Name>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="TRY">250</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-TR-1p2-84 If the Invoice Type Code is VRBL:TR:SARJANLIK, every Invoice Line must contain at least one non-empty Invoice Line Item Instance Serial ID.
VRBL-INV-TR-1p2-53 If the Invoice Type Code is VRBL:TR:IHRACKAYITLI and exemption reason code VRBL:TR:702 is used, every Invoice Line must contain a 12-character Invoice Line Shipment Goods Item Required Customs ID and an 11-character buyer line code.
VRBL-INV-TR-1p2-54 If the Invoice Subtype Code is VRBL:TR:IHRACAT, either the Delivery Terms ID or the Invoice Line Delivery Terms ID Incoterms must be provided.
VRBL-INV-TR-1p2-55 If the Invoice Subtype Code is VRBL:TR:IHRACAT, either the Delivery Location Address or the Buyer Customer Party Address Group must be provided.
VRBL-INV-TR-1p2-56 If the Invoice Subtype Code is VRBL:TR:IHRACAT, either the Shipment Transport Mode Code or the Invoice Line Shipment Transport Mode Code must be provided.
VRBL-INV-TR-1p2-57 If the Invoice Subtype Code is VRBL:TR:IHRACAT, the Invoice Line Shipment Goods Item Required Customs ID must be provided.
VRBL-INV-TR-1p2-63 If the Invoice Subtype Code is VRBL:TR:ILAC_TIBBICIHAZ, there must be as many %{cac:Item/cac:AdditionalItemIdentification[cbc:ID/@schemeID = concat($VRBL-TR-Prefix, 'ILAC')]} and %{cac:Item/cac:AdditionalItemIdentification[cbc:ID/@schemeID = concat($VRBL-TR-Prefix, 'TIBBICIHAZ')]} as the Invoiced Quantity.