<?xml version="1.0" encoding="UTF-8"?>
<!--
  SAMPLE — PINT AE Tax Invoice (document type 380)
  Profile : PINT v1.0.2 (urn:peppol:pint:billing-1@ae-1), OASIS UBL 2.1 syntax
  Purpose : A hand-authored reference sample for learning the PINT AE format.
            Element comments map each value to its glossary field reference
            (IBT-xxx / BTAE-xxx) — see https://nazm.ae/toolkit/glossary
  Note    : All parties, TRNs, IBANs and amounts are fictitious and for
            demonstration only. Scheme identifiers are illustrative.
-->
<Invoice
  xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
  xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
  xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">

  <cbc:CustomizationID>urn:peppol:pint:billing-1@ae-1</cbc:CustomizationID> <!-- IBT-024 Specification identifier -->
  <cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID>                     <!-- IBT-023 Business process type -->
  <cbc:ProfileExecutionID>00000000</cbc:ProfileExecutionID>                 <!-- BTAE-02 Invoice transaction type code (no special category set) -->
  <cbc:ID>INV-2026-000187</cbc:ID>                                          <!-- IBT-001 Invoice number -->
  <cbc:UUID>7b2f1c9e-4d3a-4a1b-9f6e-2c5a8d0e1f34</cbc:UUID>                 <!-- BTAE-07 Document UUID -->
  <cbc:IssueDate>2026-07-01</cbc:IssueDate>                                 <!-- IBT-002 Invoice issue date -->
  <cbc:DueDate>2026-07-31</cbc:DueDate>                                     <!-- IBT-009 Payment due date -->
  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>                            <!-- IBT-003 Invoice type code (Tax Invoice) -->
  <cbc:Note>Consulting services and software licence for June 2026.</cbc:Note> <!-- IBT-022 Invoice note -->
  <cbc:DocumentCurrencyCode>AED</cbc:DocumentCurrencyCode>                  <!-- IBT-005 Invoice currency code -->
  <cbc:TaxCurrencyCode>AED</cbc:TaxCurrencyCode>                            <!-- IBT-006 VAT accounting currency code -->
  <cbc:BuyerReference>PO-GRT-5589</cbc:BuyerReference>                      <!-- IBT-010 Buyer reference -->

  <cac:OrderReference>
    <cbc:ID>PO-GRT-5589</cbc:ID>                                            <!-- IBT-013 Purchase order reference -->
  </cac:OrderReference>

  <cac:AccountingSupplierParty>
    <cac:Party>
      <cbc:EndpointID schemeID="0235">100123456700003</cbc:EndpointID>      <!-- IBT-034 Seller electronic address (endpoint); scheme 0235 = UAE TRN -->
      <cac:PartyName>
        <cbc:Name>Falcon Consulting</cbc:Name>                              <!-- IBT-028 Seller trading name -->
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Sheikh Zayed Road, Office 1204</cbc:StreetName>     <!-- IBT-035 Seller address line 1 -->
        <cbc:CityName>Dubai</cbc:CityName>                                  <!-- IBT-037 Seller city -->
        <cbc:CountrySubentity>DXB</cbc:CountrySubentity>                    <!-- IBT-039 Seller country subdivision (emirate) -->
        <cac:Country>
          <cbc:IdentificationCode>AE</cbc:IdentificationCode>              <!-- IBT-040 Seller country code -->
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>100123456700003</cbc:CompanyID>                      <!-- IBT-031 Seller VAT identifier (TRN) -->
        <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Falcon Consulting FZ-LLC</cbc:RegistrationName> <!-- IBT-027 Seller name (legal) -->
        <cbc:CompanyID schemeID="CL">CN-1234567</cbc:CompanyID>             <!-- IBT-030 Seller legal registration id; schemeID carries BTAE-15 registration type (CL = commercial licence) -->
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingSupplierParty>

  <cac:AccountingCustomerParty>
    <cac:Party>
      <cbc:EndpointID schemeID="0235">100987654300003</cbc:EndpointID>      <!-- IBT-049 Buyer electronic address (endpoint) -->
      <cac:PartyName>
        <cbc:Name>Gulf Retail Trading</cbc:Name>                            <!-- IBT-045 Buyer trading name -->
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Corniche Road, Tower B, Floor 9</cbc:StreetName>    <!-- IBT-050 Buyer address line 1 -->
        <cbc:CityName>Abu Dhabi</cbc:CityName>                              <!-- IBT-052 Buyer city -->
        <cac:Country>
          <cbc:IdentificationCode>AE</cbc:IdentificationCode>              <!-- IBT-055 Buyer country code -->
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>100987654300003</cbc:CompanyID>                      <!-- IBT-048 Buyer VAT identifier (TRN) -->
        <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Gulf Retail Trading LLC</cbc:RegistrationName> <!-- IBT-044 Buyer name (legal) -->
        <cbc:CompanyID schemeID="CL">CN-7654321</cbc:CompanyID>             <!-- IBT-047 Buyer legal registration id -->
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingCustomerParty>

  <cac:PaymentMeans>
    <cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>                         <!-- IBT-081 Payment means type code (30 = credit transfer) -->
    <cac:PayeeFinancialAccount>
      <cbc:ID>AE070331234567890123456</cbc:ID>                              <!-- IBT-084 Payment account identifier (IBAN) -->
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>

  <cac:PaymentTerms>
    <cbc:Note>Net 30 days</cbc:Note>                                        <!-- IBT-020 Payment terms -->
  </cac:PaymentTerms>

  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="AED">350.00</cbc:TaxAmount>                  <!-- IBT-110 Invoice total VAT amount -->
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="AED">7000.00</cbc:TaxableAmount>      <!-- IBT-116 VAT category taxable amount -->
      <cbc:TaxAmount currencyID="AED">350.00</cbc:TaxAmount>               <!-- IBT-117 VAT category tax amount -->
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>                                                 <!-- IBT-118 VAT category code (S = standard rate) -->
        <cbc:Percent>5</cbc:Percent>                                       <!-- IBT-119 VAT category rate -->
        <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>

  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="AED">7000.00</cbc:LineExtensionAmount> <!-- IBT-106 Sum of line net amounts -->
    <cbc:TaxExclusiveAmount currencyID="AED">7000.00</cbc:TaxExclusiveAmount>   <!-- IBT-109 Invoice total without VAT -->
    <cbc:TaxInclusiveAmount currencyID="AED">7350.00</cbc:TaxInclusiveAmount>   <!-- IBT-112 Invoice total with VAT -->
    <cbc:PayableAmount currencyID="AED">7350.00</cbc:PayableAmount>             <!-- IBT-115 Amount due for payment -->
  </cac:LegalMonetaryTotal>

  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>                                                      <!-- IBT-126 Invoice line identifier -->
    <cbc:InvoicedQuantity unitCode="HUR">10</cbc:InvoicedQuantity>          <!-- IBT-129 Invoiced quantity + IBT-130 unit of measure (HUR = hour) -->
    <cbc:LineExtensionAmount currencyID="AED">5000.00</cbc:LineExtensionAmount> <!-- IBT-131 Invoice line net amount -->
    <cac:Item>
      <cbc:Name>Management consulting services</cbc:Name>                    <!-- IBT-153 Item name -->
      <cbc:Description>Advisory engagement, June 2026 (senior consultant).</cbc:Description> <!-- IBT-154 Item description -->
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>                                                 <!-- IBT-151 Item VAT category code -->
        <cbc:Percent>5</cbc:Percent>                                       <!-- IBT-152 Item VAT rate -->
        <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="AED">500.00</cbc:PriceAmount>            <!-- IBT-146 Item net price -->
    </cac:Price>
  </cac:InvoiceLine>

  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>                                                      <!-- IBT-126 Invoice line identifier -->
    <cbc:InvoicedQuantity unitCode="C62">2</cbc:InvoicedQuantity>           <!-- IBT-129 / IBT-130 (C62 = each) -->
    <cbc:LineExtensionAmount currencyID="AED">2000.00</cbc:LineExtensionAmount> <!-- IBT-131 Invoice line net amount -->
    <cac:Item>
      <cbc:Name>Annual software licence</cbc:Name>                          <!-- IBT-153 Item name -->
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>                                                 <!-- IBT-151 Item VAT category code -->
        <cbc:Percent>5</cbc:Percent>                                       <!-- IBT-152 Item VAT rate -->
        <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="AED">1000.00</cbc:PriceAmount>           <!-- IBT-146 Item net price -->
    </cac:Price>
  </cac:InvoiceLine>

</Invoice>
