نموذج لطلب فاتورة إلكترونية

<RequestBatch xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" batchID="Batch-001" documentCount="1">
  <inv:Invoice>
    <cbc:UBLVersionID>2.4</cbc:UBLVersionID>
    <cbc:ID schemeID="Google">GCEMEAD0000000001</cbc:ID>
    <cbc:UUID>123e4567-e89b-12d3-a456-426614174000</cbc:UUID>
    <cbc:IssueDate>2023-06-01</cbc:IssueDate>
    <cbc:IssueTime>08:20:00-08:00</cbc:IssueTime>
    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
    <cbc:DocumentCurrencyCode>USD</cbc:DocumentCurrencyCode>
    <cac:TaxExchangeRate>
      <cbc:SourceCurrencyCode>USD</cbc:SourceCurrencyCode>
      <cbc:TargetCurrencyCode>PLN</cbc:TargetCurrencyCode>
      <cbc:CalculationRate>4.00</cbc:CalculationRate>
    </cac:TaxExchangeRate>
    <cac:InvoicePeriod>
      <cbc:StartDate>2023-05-01</cbc:StartDate>
      <cbc:EndDate>2023-05-31</cbc:EndDate>
    </cac:InvoicePeriod>
    <cbc:Note>This is a sample note for the invoice.</cbc:Note>
    <cac:AccountingSupplierParty>
      <cac:Party>
        <cac:PartyTaxScheme>
          <cbc:CompanyID schemeID="VAT">IE 1234567V</cbc:CompanyID>
        </cac:PartyTaxScheme>
        <cac:PartyName>
          <cbc:Name>Google Ireland Limited</cbc:Name>
        </cac:PartyName>
        <cac:PostalAddress>
          <cbc:AddressLine>Gordon House</cbc:AddressLine>
          <cbc:AddressLine>Barrow Street</cbc:AddressLine>
          <cbc:CityName>Dublin</cbc:CityName>
          <cbc:PostalZone>D04 V4X7</cbc:PostalZone>
          <cac:Country>
            <cbc:IdentificationCode>IE</cbc:IdentificationCode>
          </cac:Country>
        </cac:PostalAddress>
        <cac:Contact>
          <cbc:Telephone>545-123-4567</cbc:Telephone>
          <cbc:ElectronicMail>invoice@google.com</cbc:ElectronicMail>
        </cac:Contact>
      </cac:Party>
    </cac:AccountingSupplierParty>
    <cac:AccountingCustomerParty>
      <cac:Party>
        <cac:PartyTaxScheme>
          <cbc:CompanyID schemeID="VAT">0987654321</cbc:CompanyID>
        </cac:PartyTaxScheme>
        <cac:PartyName>
          <cbc:Name>Jane's Construction Company</cbc:Name>
        </cac:PartyName>
        <cac:PostalAddress>
          <cbc:AddressLine>456 Market St</cbc:AddressLine>
          <cbc:AddressLine>Floor 4</cbc:AddressLine>
          <cbc:CityName>New York</cbc:CityName>
          <cbc:PostalZone>10001</cbc:PostalZone>
          <cac:Country>
            <cbc:IdentificationCode>US</cbc:IdentificationCode>
          </cac:Country>
        </cac:PostalAddress>
        <cac:Contact>
          <cbc:Telephone>987-654-3210</cbc:Telephone>
          <cbc:ElectronicMail>j@construction.com</cbc:ElectronicMail>
        </cac:Contact>
      </cac:Party>
    </cac:AccountingCustomerParty>
    <cac:BuyerCustomerParty>
    </cac:BuyerCustomerParty>
    <cac:InvoiceLine>
      <cbc:ID>1</cbc:ID>
      <cbc:InvoicedQuantity>1</cbc:InvoicedQuantity>
      <cbc:LineExtensionAmount currencyID="USD">1000</cbc:LineExtensionAmount>
      <cac:Item>
        <cbc:Name>Google Cloud</cbc:Name>
      </cac:Item>
      <cac:Price>
        <cbc:PriceAmount currencyID="USD">1000</cbc:PriceAmount>
      </cac:Price>
      <cac:TaxTotal>
        <cbc:TaxAmount currencyID="USD">230</cbc:TaxAmount>
        <cac:TaxSubtotal>
          <cbc:TaxableAmount currencyID="USD">1000</cbc:TaxableAmount>
          <cbc:TaxAmount currencyID="USD">230</cbc:TaxAmount>
          <cac:TaxCategory>
            <cbc:Percent>23.00</cbc:Percent>
            <cac:TaxScheme>
              <cbc:ID>VAT</cbc:ID>
            </cac:TaxScheme>
          </cac:TaxCategory>
        </cac:TaxSubtotal>
      </cac:TaxTotal>
    </cac:InvoiceLine>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="USD">230</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="USD">1000</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="USD">230</cbc:TaxAmount>
        <cac:TaxCategory>
          <cbc:Percent>23.00</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:TaxCategory>
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="PLN">920</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="PLN">4000</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="PLN">920</cbc:TaxAmount>
        <cac:TaxCategory>
          <cbc:Percent>23.00</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:TaxCategory>
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <cac:PaymentMeans>
      <cbc:PaymentMeansCode>31</cbc:PaymentMeansCode>
      <cbc:PaymentDueDate>2023-08-01</cbc:PaymentDueDate>
      <cac:PayeeFinancialAccount>
        <cbc:ID>GB01CITI1234567890</cbc:ID>
      </cac:PayeeFinancialAccount>
    </cac:PaymentMeans>
    <cac:PaymentTerms>
      <cbc:Note>Net 30 terms</cbc:Note>
    </cac:PaymentTerms>
    <cac:LegalMonetaryTotal>
      <cbc:LineExtensionAmount currencyID="USD">1000.00</cbc:LineExtensionAmount>
      <cbc:TaxExclusiveAmount currencyID="USD">1000.00</cbc:TaxExclusiveAmount>
      <cbc:PayableAmount currencyID="USD">1230.00</cbc:PayableAmount>
    </cac:LegalMonetaryTotal>
  </inv:Invoice>
</RequestBatch>