New Zealand (Peppol): Examples

Examples for your New Zealand documents.

Credit Note

<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"
  xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
  xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
  <!-- Standard New Zealand Credit Note -->
  <!-- Required UBL extensions -->
  <cec:UBLExtensions>
    <cec:UBLExtension>
      <cec:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:RoutingDetails>
            <vrbl:Sender>NZ00000000000</vrbl:Sender>
            <vrbl:Receiver>GENERIC_PEPPOL_UBL_NZ_1p0</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </cec:ExtensionContent>
    </cec:UBLExtension>
  </cec:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#Invoice#VRBL-Invoice-NZ-1p0</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>CN03</cbc:ID>
  <cbc:IssueDate>2022-07-31</cbc:IssueDate>
  <cbc:DueDate>2022-08-30</cbc:DueDate>
  <cbc:InvoiceTypeCode>381</cbc:InvoiceTypeCode>
  <!-- Free text field can bring attention to reason for credit etc. -->
  <cbc:Note>Adjustment note to reverse prior bill Invoice01.</cbc:Note>
  <cbc:DocumentCurrencyCode>NZD</cbc:DocumentCurrencyCode>
  <!-- Purchase Order and/or Buyer Reference MUST be provided -->
  <cbc:BuyerReference>0150abc</cbc:BuyerReference>
  <cac:InvoicePeriod>
    <!-- Period is optional at the invoice and line levels -->
    <cbc:StartDate>2022-06-15</cbc:StartDate>
    <cbc:EndDate>2022-07-15</cbc:EndDate>
  </cac:InvoicePeriod>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>Invoice01</cbc:ID>
      <cbc:IssueDate>2022-07-29</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:AdditionalDocumentReference>
    <!-- Multiple attachments and external links may optionally be included -->
    <cbc:ID>CN03.pdf</cbc:ID>
    <cac:Attachment>
      <!-- For brevity, this sample Attachment is not representative of an embedded pdf -->
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="application/pdf"
        filename="CN03.pdf">UGxhaW4gdGV4dCBpbiBwbGFjZSBvZiBwZGYgYXR0YWNobWVudCBmb3Igc2FtcGxlIGludm9pY2Vz</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AccountingSupplierParty>
    <!-- Seller details -->
    <cac:Party>
      <!-- Seller 'Peppol ID' -->
      <cbc:EndpointID
        schemeID="0088">9506000140445</cbc:EndpointID>
      <cac:PostalAddress>
        <cbc:CityName>Auckland</cbc:CityName>
        <cbc:PostalZone>2912</cbc:PostalZone>
        <cbc:CountrySubentity>AUK</cbc:CountrySubentity>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Supplier Official Name Ltd</cbc:RegistrationName>
        <!-- Seller ABN -->
        <cbc:CompanyID
          schemeID="0088">9506000140445</cbc:CompanyID>
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <!-- Buyer/customer details -->
    <cac:Party>
      <!-- Buyer/customer 'Peppol ID' -->
      <cbc:EndpointID
        schemeID="0088">9429000000000</cbc:EndpointID>
      <cac:PartyIdentification>
        <!-- Buyer/customer account number, assigned by the supplier -->
        <cbc:ID>AccountNumber123</cbc:ID>
      </cac:PartyIdentification>
      <cac:PostalAddress>
        <cbc:StreetName>100 Queen Street</cbc:StreetName>
        <cbc:CityName>Christchurch</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Trotters Incorporated</cbc:RegistrationName>
        <!-- Buyer/customer ABN -->
        <cbc:CompanyID
          schemeID="0088">9429000000000</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Lisa Johnson</cbc:Name>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="NZD">23.91</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <!-- Subtotal for 'S' Standard-rated tax category of 10% GST -->
      <cbc:TaxableAmount
        currencyID="NZD">159.43</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="NZD">23.91</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount
      currencyID="NZD">159.43</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount
      currencyID="NZD">159.43</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount
      currencyID="NZD">183.34</cbc:TaxInclusiveAmount>
    <!-- Amount to be re-credited -->
    <cbc:PayableAmount
      currencyID="NZD">183.34</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <!-- Line with 15% GST -->
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="KWH">325.2</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">129.04</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Name>Adjustment - reverse prior Electricity charges - all day rate NMI 9000074677</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <!-- 15% GST -->
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">0.3968</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <!-- Line with 15% GST -->
    <cbc:ID>2</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="DAY">31</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">30.39</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Name>Adjustment - reverse prior Supply charge</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <!-- 15% GST -->
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">0.9803</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
</Invoice>

Invoice

<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"
  xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
  xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
  <cec:UBLExtensions>
    <cec:UBLExtension>
      <cec:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:RoutingDetails>
            <vrbl:Sender>NZ00000000000</vrbl:Sender>
            <vrbl:Receiver>GENERIC_PEPPOL_UBL_NZ_1p0</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </cec:ExtensionContent>
    </cec:UBLExtension>
  </cec:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#Invoice#VRBL-Invoice-NZ-1p0</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>INV_00482</cbc:ID>
  <cbc:IssueDate>2022-07-29</cbc:IssueDate>
  <cbc:DueDate>2022-08-30</cbc:DueDate>
  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
  <cbc:Note>Tax invoice. Prior invoice paid in full - Thank you!</cbc:Note>
  <cbc:DocumentCurrencyCode>AUD</cbc:DocumentCurrencyCode>
  <cbc:TaxCurrencyCode>NZD</cbc:TaxCurrencyCode>
  <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>
  <cbc:BuyerReference>0150abc</cbc:BuyerReference>
  <cac:InvoicePeriod>
    <cbc:StartDate>2022-06-01</cbc:StartDate>
    <cbc:EndDate>2022-07-31</cbc:EndDate>
    <cbc:DescriptionCode>3</cbc:DescriptionCode>
  </cac:InvoicePeriod>
  <cac:OrderReference>
    <cbc:ID>PO1245</cbc:ID>
    <cbc:SalesOrderID>SO34678</cbc:SalesOrderID>
  </cac:OrderReference>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>INV_00432</cbc:ID>
      <cbc:IssueDate>2022-05-30</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>INV_00437</cbc:ID>
      <cbc:IssueDate>2022-05-31</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:DespatchDocumentReference>
    <cbc:ID>ASN_03499</cbc:ID>
  </cac:DespatchDocumentReference>
  <cac:ReceiptDocumentReference>
    <cbc:ID>RCPT_1290</cbc:ID>
  </cac:ReceiptDocumentReference>
  <cac:OriginatorDocumentReference>
    <cbc:ID>OD-REF_125</cbc:ID>
  </cac:OriginatorDocumentReference>
  <cac:ContractDocumentReference>
    <cbc:ID>CN_099787</cbc:ID>
  </cac:ContractDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID
      schemeID="SE">15622229-135</cbc:ID>
    <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    <!-- Invoiced object (e.g. equipment serial nbr) can be included at invoice and/or line levels -->
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>attID1</cbc:ID>
    <cbc:DocumentDescription>Supporting information</cbc:DocumentDescription>
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="text/csv"
        filename="quality_assurance.csv">UUFfc3RlcCxhc3N1cmFuY2VfZGVzYyxyZXN1bHQKUUMwMDEsZGltZW5zaW9uLHBhc3MKUUMwMDIsaGVhdCxwYXNzCg==</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>attID2</cbc:ID>
    <cbc:DocumentDescription>Additional information via portal</cbc:DocumentDescription>
    <cac:Attachment>
      <cac:ExternalReference>
        <cbc:URI>https://github.com/A-NZ-PEPPOL/A-NZ-PEPPOL-BIS-3.0</cbc:URI>
      </cac:ExternalReference>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>INV_00482.pdf</cbc:ID>
    <cbc:DocumentDescription>Invoice_with_additional_information</cbc:DocumentDescription>
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="application/pdf"
        filename="INV_00482.pdf">aHR0cHM6Ly9naXRodWIuY29tL0EtTlotUEVQUE9ML0EtTlotUEVQUE9MLUJJUy0zLjA=</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:ProjectReference>
    <cbc:ID>PR_590</cbc:ID>
  </cac:ProjectReference>
  <cac:AccountingSupplierParty>
    <!-- Seller details -->
    <cac:Party>
      <cbc:EndpointID
        schemeID="0088">9506000140445</cbc:EndpointID>
      <!-- Seller 'Peppol ID' -->
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">9506000140445</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">1234567890128</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Supplier Trading Name Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Office 12</cbc:StreetName>
        <cbc:AdditionalStreetName>Main street 1</cbc:AdditionalStreetName>
        <cbc:CityName>Auckland</cbc:CityName>
        <cbc:PostalZone>2912</cbc:PostalZone>
        <cbc:CountrySubentity>AUK</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o front desk</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>9506000140445</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Supplier Official Name Ltd</cbc:RegistrationName>
        <cbc:CompanyID
          schemeID="0088">9506000140445</cbc:CompanyID>
        <!-- Seller ABN -->
        <cbc:CompanyLegalForm>Partnership</cbc:CompanyLegalForm>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Ronald Ekk</cbc:Name>
        <cbc:Telephone>Mobile 0430123456</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <!-- Buyer/customer details -->
    <cac:Party>
      <cbc:EndpointID
        schemeID="0151">51824753556</cbc:EndpointID>
      <!-- Buyer/customer 'Peppol ID' -->
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">1234567890135</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Trotters Trading Co Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Floor 15</cbc:StreetName>
        <cbc:AdditionalStreetName>100 Queen Street</cbc:AdditionalStreetName>
        <cbc:CityName>Sydney</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o reception</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>AU</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>9429000000000001</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Trotters Incorporated</cbc:RegistrationName>
        <cbc:CompanyID
          schemeID="0151">51824753556</cbc:CompanyID>
        <!-- Buyer/customer ABN -->
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Lisa Johnson</cbc:Name>
        <cbc:Telephone>0261234567</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:PayeeParty>
    <cac:PartyIdentification>
      <cbc:ID
        schemeID="0088">9501234567891</cbc:ID>
    </cac:PartyIdentification>
    <cac:PartyName>
      <cbc:Name>Mr Anderson</cbc:Name>
    </cac:PartyName>
    <cac:PartyLegalEntity>
      <cbc:CompanyID
        schemeID="0088">9501234567891</cbc:CompanyID>
    </cac:PartyLegalEntity>
  </cac:PayeeParty>
  <cac:TaxRepresentativeParty>
    <cac:PartyName>
      <cbc:Name>Mr Wilson</cbc:Name>
    </cac:PartyName>
    <cac:PostalAddress>
      <cbc:StreetName>16 Stout Street</cbc:StreetName>
      <cbc:AdditionalStreetName>Po box 878</cbc:AdditionalStreetName>
      <cbc:CityName>Christchurch</cbc:CityName>
      <cbc:PostalZone>2000</cbc:PostalZone>
      <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
      <cac:AddressLine>
        <cbc:Line>Unit 1</cbc:Line>
      </cac:AddressLine>
      <cac:Country>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:Country>
    </cac:PostalAddress>
    <cac:PartyTaxScheme>
      <cbc:CompanyID>9429000000000001</cbc:CompanyID>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:PartyTaxScheme>
  </cac:TaxRepresentativeParty>
  <cac:Delivery>
    <cbc:ActualDeliveryDate>2022-07-01</cbc:ActualDeliveryDate>
    <cac:DeliveryLocation>
      <cbc:ID
        schemeID="0088">1234567890135</cbc:ID>
      <cac:Address>
        <cbc:StreetName>Delivery street 2</cbc:StreetName>
        <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>
        <cbc:CityName>Christchurch</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>NSW</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>Unit 1</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:Address>
    </cac:DeliveryLocation>
    <cac:DeliveryParty>
      <cac:PartyName>
        <cbc:Name>Delivery party Name</cbc:Name>
      </cac:PartyName>
    </cac:DeliveryParty>
  </cac:Delivery>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit transfer">30</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PayeeFinancialAccount>
      <cbc:ID>AccountNumber</cbc:ID>
      <cbc:Name>AccountName</cbc:Name>
      <cac:FinancialInstitutionBranch>
        <cbc:ID>BSB (branch) Number</cbc:ID>
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Direct Debit">49</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PaymentMandate>
      <cbc:ID>mandate id</cbc:ID>
      <cac:PayerFinancialAccount>
        <cbc:ID>cust acct nbr</cbc:ID>
      </cac:PayerFinancialAccount>
    </cac:PaymentMandate>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit transfer">30</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PayeeFinancialAccount>
      <cbc:ID>[email protected]</cbc:ID>
      <!-- Registered PayID (e.g. phone number, email address etc.) -->
      <cac:FinancialInstitutionBranch>
        <cbc:ID>NPP-EMAL</cbc:ID>
        <!-- PayID type -->
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit transfer">30</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PayeeFinancialAccount>
      <cbc:ID>https://www.yourwebsiteexample.co.nz/pay</cbc:ID>
      <cbc:Name>Supplier ABC</cbc:Name>
      <cac:FinancialInstitutionBranch>
        <cbc:ID>URI</cbc:ID>
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit card">54</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:CardAccount>
      <cbc:PrimaryAccountNumberID>1456</cbc:PrimaryAccountNumberID>
      <cbc:NetworkID>VISA</cbc:NetworkID>
      <cbc:HolderName>Card holder</cbc:HolderName>
    </cac:CardAccount>
  </cac:PaymentMeans>
  <cac:PaymentTerms>
    <cbc:Note>Payment within 30 days</cbc:Note>
  </cac:PaymentTerms>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>SAA</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>Shipping and Handling</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="AUD">150</cbc:Amount>
    <cbc:BaseAmount
      currencyID="AUD">1500</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>65</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>discount product with production error</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>20</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="AUD">10</cbc:Amount>
    <cbc:BaseAmount
      currencyID="AUD">50</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="AUD">229.11</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <!-- Subtotal for 'S' Standard-rated tax category of 15% GST -->
      <cbc:TaxableAmount
        currencyID="AUD">1527.40</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="AUD">229.11</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <cac:TaxSubtotal>
      <!-- Subtotal for 'Z' Zero-rated tax category of 0% GST -->
      <cbc:TaxableAmount
        currencyID="AUD">100.00</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="AUD">0.00</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="NZD">252.35</cbc:TaxAmount>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount
      currencyID="AUD">1487.40</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount
      currencyID="AUD">1627.40</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount
      currencyID="AUD">1856.51</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount
      currencyID="AUD">10</cbc:AllowanceTotalAmount>
    <cbc:ChargeTotalAmount
      currencyID="AUD">150</cbc:ChargeTotalAmount>
    <cbc:PrepaidAmount
      currencyID="AUD">50.00</cbc:PrepaidAmount>
    <cbc:PayableRoundingAmount
      currencyID="AUD">-0.14</cbc:PayableRoundingAmount>
    <cbc:PayableAmount
      currencyID="AUD">1806.37</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <!-- Line with 15% GST -->
    <cbc:ID>1</cbc:ID>
    <cbc:Note>Free text giving more information about the Invoice Line</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="E99">10</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">299.90</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Description>Widgets True and Fair</cbc:Description>
      <cbc:Name>True-Widgets</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901231</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">1009348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
      <cac:AdditionalItemProperty>
        <cbc:Name>QA</cbc:Name>
        <cbc:Value>Class A</cbc:Value>
      </cac:AdditionalItemProperty>
      <cac:AdditionalItemProperty>
        <cbc:Name>WARRANTY</cbc:Name>
        <cbc:Value>2 years</cbc:Value>
      </cac:AdditionalItemProperty>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">29.99</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="AUD">0.01</cbc:Amount>
        <cbc:BaseAmount
          currencyID="AUD">30.00</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>
    <cbc:Note>Daily rate includes travel time but not travel expenses</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="DAY">4</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">900</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>AAF</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Off premise service delivery</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>25</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="AUD">200</cbc:Amount>
      <cbc:BaseAmount
        currencyID="AUD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Discount as per contract</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>12.5</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="AUD">100</cbc:Amount>
      <cbc:BaseAmount
        currencyID="AUD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:Item>
      <cbc:Description>Description 2</cbc:Description>
      <cbc:Name>item name 2</cbc:Name>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901248</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NO</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">400</cbc:PriceAmount>
      <cbc:BaseQuantity
        unitCode="DAY">2</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>3</cbc:ID>
    <cbc:Note>Invoice Line Description</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="M66">25</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">187.50</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Description>Widgets seconds</cbc:Description>
      <cbc:Name>Widgets (seconds)</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901255</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">7.50</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="AUD">0.00</cbc:Amount>
        <cbc:BaseAmount
          currencyID="AUD">7.50</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>4</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="DAY">2</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">100</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Description>Description 4</cbc:Description>
      <cbc:Name>item name 4</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">50</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
</Invoice>

Negative Invoice

<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"
  xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
  xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
  <cec:UBLExtensions>
    <cec:UBLExtension>
      <cec:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:RoutingDetails>
            <!-- Unique sender ID. In case of New Zealand always the sender's NZBN (New Zealand Business Number) -->
            <vrbl:Sender>NZ00000000000</vrbl:Sender>
            <!-- Unique receiver ID. In case of New Zealand always a static value identifies the country (New Zealand) and the target version to be created -->
            <vrbl:Receiver>GENERIC_PEPPOL_UBL_NZ_1p0</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </cec:ExtensionContent>
    </cec:UBLExtension>
  </cec:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#Invoice#VRBL-Invoice-NZ-1p0</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>INV_00482</cbc:ID>
  <cbc:IssueDate>2022-07-29</cbc:IssueDate>
  <cbc:DueDate>2022-08-30</cbc:DueDate>
  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
  <cbc:Note>Adjustment note to reverse prior bill INV_00397</cbc:Note>
  <cbc:DocumentCurrencyCode>NZD</cbc:DocumentCurrencyCode>
  <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>
  <cbc:BuyerReference>0150abc</cbc:BuyerReference>
  <cac:InvoicePeriod>
    <cbc:StartDate>2022-06-01</cbc:StartDate>
    <cbc:EndDate>2022-07-31</cbc:EndDate>
    <cbc:DescriptionCode>3</cbc:DescriptionCode>
  </cac:InvoicePeriod>
  <cac:OrderReference>
    <cbc:ID>PO1245</cbc:ID>
    <cbc:SalesOrderID>SO34678</cbc:SalesOrderID>
  </cac:OrderReference>
  <!-- Data of the previously sent invoice that is being cancelled or corrected -->
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>INV_00397</cbc:ID>
      <cbc:IssueDate>2022-05-30</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>INV_00483.pdf</cbc:ID>
    <cbc:DocumentDescription>Invoice_with_additional_information</cbc:DocumentDescription>
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="application/pdf"
        filename="INV_00483.pdf">aHR0cHM6Ly9naXRodWIuY29tL0EtTlotUEVQUE9ML0EtTlotUEVQUE9MLUJJUy0zLjA=</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AccountingSupplierParty>
    <!-- Seller details -->
    <cac:Party>
      <cbc:EndpointID
        schemeID="0088">9506000140445</cbc:EndpointID>
      <!-- Seller 'Peppol ID' -->
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">9506000140445</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Supplier Trading Name Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Office 12</cbc:StreetName>
        <cbc:AdditionalStreetName>Main street 1</cbc:AdditionalStreetName>
        <cbc:CityName>Auckland</cbc:CityName>
        <cbc:PostalZone>2912</cbc:PostalZone>
        <cbc:CountrySubentity>AUK</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o front desk</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Supplier Official Name Ltd</cbc:RegistrationName>
        <cbc:CompanyID
          schemeID="0088">9506000140445</cbc:CompanyID>
        <!-- Seller ABN -->
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Ronald Ekk</cbc:Name>
        <cbc:Telephone>Mobile 0430123456</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <!-- Buyer/customer details -->
    <cac:Party>
      <!-- Buyer/customer 'Peppol ID' -->
      <cbc:EndpointID
        schemeID="0088">9429000000000</cbc:EndpointID>
      <cac:PartyIdentification>
        <!-- Buyer/customer account number, assigned by the supplier -->
        <cbc:ID
          schemeID="0088">1234567890135</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Trotters Trading Co Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Floor 15</cbc:StreetName>
        <cbc:AdditionalStreetName>100 Queen Street</cbc:AdditionalStreetName>
        <cbc:CityName>Christchurch</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o reception</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Trotters Incorporated</cbc:RegistrationName>
        <!-- Buyer/customer ABN -->
        <cbc:CompanyID
          schemeID="0088">9429000000000</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Lisa Johnson</cbc:Name>
        <cbc:Telephone>0261234567</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>SAA</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>Refund Shipping and Handling</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>-10</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="NZD">-150.00</cbc:Amount>
    <cbc:BaseAmount
      currencyID="NZD">1500</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>65</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>discount product with production error</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>-20</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="NZD">-10.00</cbc:Amount>
    <cbc:BaseAmount
      currencyID="NZD">50</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="NZD">-152.74</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount
        currencyID="NZD">-1527.40</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="NZD">-229.11</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount
        currencyID="NZD">-100.00</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="NZD">0.00</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- All the tax amounts and taxable amounts are negative -->
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount
      currencyID="NZD">-1487.40</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount
      currencyID="NZD">-1627.40</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount
      currencyID="NZD">-1856.51</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount
      currencyID="NZD">-10.00</cbc:AllowanceTotalAmount>
    <cbc:ChargeTotalAmount
      currencyID="NZD">-150.00</cbc:ChargeTotalAmount>
    <cbc:PrepaidAmount
      currencyID="NZD">-50.00</cbc:PrepaidAmount>
    <cbc:PayableRoundingAmount
      currencyID="NZD">0.14</cbc:PayableRoundingAmount>
    <cbc:PayableAmount
      currencyID="NZD">-1806.37</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <!-- The item quantity must be negative -->
    <cbc:InvoicedQuantity
      unitCode="E99">-10</cbc:InvoicedQuantity>
    <!-- The line net amount must be negative -->
    <cbc:LineExtensionAmount
      currencyID="NZD">-299.90</cbc:LineExtensionAmount>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Name>True-Widgets</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901231</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">1009348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
      <cac:AdditionalItemProperty>
        <cbc:Name>QA</cbc:Name>
        <cbc:Value>Class A</cbc:Value>
      </cac:AdditionalItemProperty>
      <cac:AdditionalItemProperty>
        <cbc:Name>WARRANTY</cbc:Name>
        <cbc:Value>2 years</cbc:Value>
      </cac:AdditionalItemProperty>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">29.99</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="NZD">0.01</cbc:Amount>
        <cbc:BaseAmount
          currencyID="NZD">30.00</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>
    <cbc:Note>Daily rate includes travel time but not travel expenses</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="DAY">-4</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">-900.00</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>AAF</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Off premise service delivery</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>-25</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="NZD">-200.00</cbc:Amount>
      <cbc:BaseAmount
        currencyID="NZD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Discount as per contract</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>-12.5</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="NZD">-100.00</cbc:Amount>
      <cbc:BaseAmount
        currencyID="NZD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:Item>
      <cbc:Description>Description 2</cbc:Description>
      <cbc:Name>item name 2</cbc:Name>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901248</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NO</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">400</cbc:PriceAmount>
      <cbc:BaseQuantity
        unitCode="DAY">2</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>3</cbc:ID>
    <cbc:Note>Invoice Line Description</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="M66">-25</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">-187.50</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Description>Widgets seconds</cbc:Description>
      <cbc:Name>Widgets (seconds)</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901255</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">7.50</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="NZD">0.00</cbc:Amount>
        <cbc:BaseAmount
          currencyID="NZD">7.50</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>4</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="DAY">-2</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">-100.00</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Description>Description 4</cbc:Description>
      <cbc:Name>item name 4</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">50</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
</Invoice>

Self Billed Credit Note

<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"
  xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
  xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
  <!-- SelfbilledNew ZealandCredit Note -->
  <!-- Required UBL extensions -->
  <cec:UBLExtensions>
    <cec:UBLExtension>
      <cec:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:RoutingDetails>
            <vrbl:Sender>NZ00000000000</vrbl:Sender>
            <vrbl:Receiver>GENERIC_PEPPOL_UBL_NZ_1p0</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </cec:ExtensionContent>
    </cec:UBLExtension>
  </cec:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#Invoice#VRBL-Invoice-NZ-1p0</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>CN03</cbc:ID>
  <cbc:IssueDate>2022-07-31</cbc:IssueDate>
  <cbc:DueDate>2022-08-30</cbc:DueDate>
  <cbc:InvoiceTypeCode>261</cbc:InvoiceTypeCode>
  <cbc:Note>Adjustment note to reverse prior bill Invoice01.</cbc:Note>
  <cbc:DocumentCurrencyCode>NZD</cbc:DocumentCurrencyCode>
  <cbc:BuyerReference>0150abc</cbc:BuyerReference>
  <cac:InvoicePeriod>
    <cbc:StartDate>2022-06-15</cbc:StartDate>
    <cbc:EndDate>2022-07-15</cbc:EndDate>
  </cac:InvoicePeriod>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>Invoice01</cbc:ID>
      <cbc:IssueDate>2022-07-29</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:AdditionalDocumentReference>
    <!-- Multiple attachments and external links may optionally be included -->
    <cbc:ID>CN03.pdf</cbc:ID>
    <cac:Attachment>
      <!-- For brevity, this sample Attachment is not representative of an embedded pdf -->
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="application/pdf"
        filename="CN03.pdf">UGxhaW4gdGV4dCBpbiBwbGFjZSBvZiBwZGYgYXR0YWNobWVudCBmb3Igc2FtcGxlIGludm9pY2Vz</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AccountingSupplierParty>
    <!-- Seller details -->
    <cac:Party>
      <!-- Seller 'Peppol ID' -->
      <cbc:EndpointID
        schemeID="0088">9506000140445</cbc:EndpointID>
      <cac:PostalAddress>
        <cbc:CityName>Auckland</cbc:CityName>
        <cbc:PostalZone>2912</cbc:PostalZone>
        <cbc:CountrySubentity>AUK</cbc:CountrySubentity>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Supplier Official Name Ltd</cbc:RegistrationName>
        <!-- Seller ABN -->
        <cbc:CompanyID
          schemeID="0088">9506000140445</cbc:CompanyID>
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <!-- Buyer/customer details -->
    <cac:Party>
      <!-- Buyer/customer 'Peppol ID' -->
      <cbc:EndpointID
        schemeID="0088">9429000000000</cbc:EndpointID>
      <cac:PartyIdentification>
        <!-- Buyer/customer account number, assigned by the supplier -->
        <cbc:ID>AccountNumber123</cbc:ID>
      </cac:PartyIdentification>
      <cac:PostalAddress>
        <cbc:StreetName>100 Queen Street</cbc:StreetName>
        <cbc:CityName>Christchurch</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Trotters Incorporated</cbc:RegistrationName>
        <!-- Buyer/customer ABN -->
        <cbc:CompanyID
          schemeID="0088">9429000000000</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Lisa Johnson</cbc:Name>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="NZD">23.91</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount
        currencyID="NZD">159.43</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="NZD">23.91</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount
      currencyID="NZD">159.43</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount
      currencyID="NZD">159.43</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount
      currencyID="NZD">183.34</cbc:TaxInclusiveAmount>
    <cbc:PayableAmount
      currencyID="NZD">183.34</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="KWH">325.2</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">129.04</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Name>Adjustment - reverse prior Electricity charges - all day rate NMI 9000074677</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">0.3968</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="DAY">31</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">30.39</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Name>Adjustment - reverse prior Supply charge</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">0.9803</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
</Invoice>

Self Billed Invoice

<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"
  xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
  xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
  <cec:UBLExtensions>
    <cec:UBLExtension>
      <cec:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:RoutingDetails>
            <vrbl:Sender>NZ00000000000</vrbl:Sender>
            <vrbl:Receiver>GENERIC_PEPPOL_UBL_NZ_1p0</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </cec:ExtensionContent>
    </cec:UBLExtension>
  </cec:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#Invoice#VRBL-Invoice-NZ-1p0</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>INV_00482</cbc:ID>
  <cbc:IssueDate>2022-07-29</cbc:IssueDate>
  <cbc:DueDate>2022-08-30</cbc:DueDate>
  <cbc:InvoiceTypeCode>389</cbc:InvoiceTypeCode>
  <cbc:Note>Tax invoice. Prior invoice paid in full - Thank you!</cbc:Note>
  <cbc:DocumentCurrencyCode>AUD</cbc:DocumentCurrencyCode>
  <cbc:TaxCurrencyCode>NZD</cbc:TaxCurrencyCode>
  <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>
  <cbc:BuyerReference>0150abc</cbc:BuyerReference>
  <cac:InvoicePeriod>
    <cbc:StartDate>2022-06-01</cbc:StartDate>
    <cbc:EndDate>2022-07-31</cbc:EndDate>
    <cbc:DescriptionCode>3</cbc:DescriptionCode>
  </cac:InvoicePeriod>
  <cac:OrderReference>
    <cbc:ID>PO1245</cbc:ID>
    <cbc:SalesOrderID>SO34678</cbc:SalesOrderID>
  </cac:OrderReference>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>INV_00432</cbc:ID>
      <cbc:IssueDate>2022-05-30</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>INV_00437</cbc:ID>
      <cbc:IssueDate>2022-05-31</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:DespatchDocumentReference>
    <cbc:ID>ASN_03499</cbc:ID>
  </cac:DespatchDocumentReference>
  <cac:ReceiptDocumentReference>
    <cbc:ID>RCPT_1290</cbc:ID>
  </cac:ReceiptDocumentReference>
  <cac:OriginatorDocumentReference>
    <cbc:ID>OD-REF_125</cbc:ID>
  </cac:OriginatorDocumentReference>
  <cac:ContractDocumentReference>
    <cbc:ID>CN_099787</cbc:ID>
  </cac:ContractDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID
      schemeID="SE">15622229-135</cbc:ID>
    <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    <!-- Invoiced object (e.g. equipment serial nbr) can be included at invoice and/or line levels -->
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>attID1</cbc:ID>
    <cbc:DocumentDescription>Supporting information</cbc:DocumentDescription>
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="text/csv"
        filename="quality_assurance.csv">UUFfc3RlcCxhc3N1cmFuY2VfZGVzYyxyZXN1bHQKUUMwMDEsZGltZW5zaW9uLHBhc3MKUUMwMDIsaGVhdCxwYXNzCg==</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>attID2</cbc:ID>
    <cbc:DocumentDescription>Additional information via portal</cbc:DocumentDescription>
    <cac:Attachment>
      <cac:ExternalReference>
        <cbc:URI>https://github.com/A-NZ-PEPPOL/A-NZ-PEPPOL-BIS-3.0</cbc:URI>
      </cac:ExternalReference>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>INV_00482.pdf</cbc:ID>
    <cbc:DocumentDescription>Invoice_with_additional_information</cbc:DocumentDescription>
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="application/pdf"
        filename="INV_00482.pdf">aHR0cHM6Ly9naXRodWIuY29tL0EtTlotUEVQUE9ML0EtTlotUEVQUE9MLUJJUy0zLjA=</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:ProjectReference>
    <cbc:ID>PR_590</cbc:ID>
  </cac:ProjectReference>
  <cac:AccountingSupplierParty>
    <!-- Seller details -->
    <cac:Party>
      <cbc:EndpointID
        schemeID="0088">9506000140445</cbc:EndpointID>
      <!-- Seller 'Peppol ID' -->
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">9506000140445</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">1234567890128</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Supplier Trading Name Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Office 12</cbc:StreetName>
        <cbc:AdditionalStreetName>Main street 1</cbc:AdditionalStreetName>
        <cbc:CityName>Auckland</cbc:CityName>
        <cbc:PostalZone>2912</cbc:PostalZone>
        <cbc:CountrySubentity>AUK</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o front desk</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>9506000140445</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Supplier Official Name Ltd</cbc:RegistrationName>
        <cbc:CompanyID
          schemeID="0088">9506000140445</cbc:CompanyID>
        <!-- Seller ABN -->
        <cbc:CompanyLegalForm>Partnership</cbc:CompanyLegalForm>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Ronald Ekk</cbc:Name>
        <cbc:Telephone>Mobile 0430123456</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <!-- Buyer/customer details -->
    <cac:Party>
      <cbc:EndpointID
        schemeID="0151">51824753556</cbc:EndpointID>
      <!-- Buyer/customer 'Peppol ID' -->
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">1234567890135</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Trotters Trading Co Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Floor 15</cbc:StreetName>
        <cbc:AdditionalStreetName>100 Queen Street</cbc:AdditionalStreetName>
        <cbc:CityName>Sydney</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>NSW</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o reception</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>AU</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>9429000000000001</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Trotters Incorporated</cbc:RegistrationName>
        <cbc:CompanyID
          schemeID="0151">51824753556</cbc:CompanyID>
        <!-- Buyer/customer ABN -->
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Lisa Johnson</cbc:Name>
        <cbc:Telephone>0261234567</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:PayeeParty>
    <cac:PartyIdentification>
      <cbc:ID
        schemeID="0088">9501234567891</cbc:ID>
    </cac:PartyIdentification>
    <cac:PartyName>
      <cbc:Name>Mr Anderson</cbc:Name>
    </cac:PartyName>
    <cac:PartyLegalEntity>
      <cbc:CompanyID
        schemeID="0088">9501234567891</cbc:CompanyID>
    </cac:PartyLegalEntity>
  </cac:PayeeParty>
  <cac:TaxRepresentativeParty>
    <cac:PartyName>
      <cbc:Name>Mr Wilson</cbc:Name>
    </cac:PartyName>
    <cac:PostalAddress>
      <cbc:StreetName>16 Stout Street</cbc:StreetName>
      <cbc:AdditionalStreetName>Po box 878</cbc:AdditionalStreetName>
      <cbc:CityName>Christchurch</cbc:CityName>
      <cbc:PostalZone>2000</cbc:PostalZone>
      <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
      <cac:AddressLine>
        <cbc:Line>Unit 1</cbc:Line>
      </cac:AddressLine>
      <cac:Country>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:Country>
    </cac:PostalAddress>
    <cac:PartyTaxScheme>
      <cbc:CompanyID>9429000000000001</cbc:CompanyID>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:PartyTaxScheme>
  </cac:TaxRepresentativeParty>
  <cac:Delivery>
    <cbc:ActualDeliveryDate>2022-07-01</cbc:ActualDeliveryDate>
    <cac:DeliveryLocation>
      <cbc:ID
        schemeID="0088">1234567890135</cbc:ID>
      <cac:Address>
        <cbc:StreetName>Delivery street 2</cbc:StreetName>
        <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>
        <cbc:CityName>Christchurch</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>Unit 1</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:Address>
    </cac:DeliveryLocation>
    <cac:DeliveryParty>
      <cac:PartyName>
        <cbc:Name>Delivery party Name</cbc:Name>
      </cac:PartyName>
    </cac:DeliveryParty>
  </cac:Delivery>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit transfer">30</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PayeeFinancialAccount>
      <cbc:ID>AccountNumber</cbc:ID>
      <cbc:Name>AccountName</cbc:Name>
      <cac:FinancialInstitutionBranch>
        <cbc:ID>BSB (branch) Number</cbc:ID>
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Direct Debit">49</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PaymentMandate>
      <cbc:ID>mandate id</cbc:ID>
      <cac:PayerFinancialAccount>
        <cbc:ID>cust acct nbr</cbc:ID>
      </cac:PayerFinancialAccount>
    </cac:PaymentMandate>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit transfer">30</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PayeeFinancialAccount>
      <cbc:ID>[email protected]</cbc:ID>
      <!-- Registered PayID (e.g. phone number, email address etc.) -->
      <cac:FinancialInstitutionBranch>
        <cbc:ID>NPP-EMAL</cbc:ID>
        <!-- PayID type -->
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit transfer">30</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:PayeeFinancialAccount>
      <cbc:ID>https://www.yourwebsiteexample.co.nz/pay</cbc:ID>
      <cbc:Name>Supplier ABC</cbc:Name>
      <cac:FinancialInstitutionBranch>
        <cbc:ID>URI</cbc:ID>
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode
      name="Credit card">54</cbc:PaymentMeansCode>
    <cbc:PaymentID>PaymentReferenceText</cbc:PaymentID>
    <cac:CardAccount>
      <cbc:PrimaryAccountNumberID>1456</cbc:PrimaryAccountNumberID>
      <cbc:NetworkID>VISA</cbc:NetworkID>
      <cbc:HolderName>Card holder</cbc:HolderName>
    </cac:CardAccount>
  </cac:PaymentMeans>
  <cac:PaymentTerms>
    <cbc:Note>Payment within 30 days</cbc:Note>
  </cac:PaymentTerms>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>SAA</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>Shipping and Handling</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="AUD">150</cbc:Amount>
    <cbc:BaseAmount
      currencyID="AUD">1500</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>65</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>discount product with production error</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>20</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="AUD">10</cbc:Amount>
    <cbc:BaseAmount
      currencyID="AUD">50</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="AUD">183.34</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <!-- Subtotal for 'S' Standard-rated tax category of 15% GST -->
      <cbc:TaxableAmount
        currencyID="AUD">1527.40</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="AUD">183.34</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <cac:TaxSubtotal>
      <!-- Subtotal for 'Z' Zero-rated tax category of 0% GST -->
      <cbc:TaxableAmount
        currencyID="AUD">100.00</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="AUD">0.00</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="NZD">252.35</cbc:TaxAmount>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount
      currencyID="AUD">1487.40</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount
      currencyID="AUD">1627.40</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount
      currencyID="AUD">1856.51</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount
      currencyID="AUD">10</cbc:AllowanceTotalAmount>
    <cbc:ChargeTotalAmount
      currencyID="AUD">150</cbc:ChargeTotalAmount>
    <cbc:PrepaidAmount
      currencyID="AUD">50.00</cbc:PrepaidAmount>
    <cbc:PayableRoundingAmount
      currencyID="AUD">-0.14</cbc:PayableRoundingAmount>
    <cbc:PayableAmount
      currencyID="AUD">1806.37</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <!-- Line with 15% GST -->
    <cbc:ID>1</cbc:ID>
    <cbc:Note>Free text giving more information about the Invoice Line</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="E99">10</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">299.90</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Description>Widgets True and Fair</cbc:Description>
      <cbc:Name>True-Widgets</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901231</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">1009348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
      <cac:AdditionalItemProperty>
        <cbc:Name>QA</cbc:Name>
        <cbc:Value>Class A</cbc:Value>
      </cac:AdditionalItemProperty>
      <cac:AdditionalItemProperty>
        <cbc:Name>WARRANTY</cbc:Name>
        <cbc:Value>2 years</cbc:Value>
      </cac:AdditionalItemProperty>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">29.99</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="AUD">0.01</cbc:Amount>
        <cbc:BaseAmount
          currencyID="AUD">30.00</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>
    <cbc:Note>Daily rate includes travel time but not travel expenses</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="DAY">4</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">900</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>AAF</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Off premise service delivery</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>25</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="AUD">200</cbc:Amount>
      <cbc:BaseAmount
        currencyID="AUD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Discount as per contract</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>12.5</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="AUD">100</cbc:Amount>
      <cbc:BaseAmount
        currencyID="AUD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:Item>
      <cbc:Description>Description 2</cbc:Description>
      <cbc:Name>item name 2</cbc:Name>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901248</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NO</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">400</cbc:PriceAmount>
      <cbc:BaseQuantity
        unitCode="DAY">2</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>3</cbc:ID>
    <cbc:Note>Invoice Line Description</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="M66">25</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">187.50</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Description>Widgets seconds</cbc:Description>
      <cbc:Name>Widgets (seconds)</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901255</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">7.50</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="AUD">0.00</cbc:Amount>
        <cbc:BaseAmount
          currencyID="AUD">7.50</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>4</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="DAY">2</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="AUD">100</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Description>Description 4</cbc:Description>
      <cbc:Name>item name 4</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="AUD">50</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
</Invoice>

Self Billed Negative Invoice

<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"
  xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
  xmlns:vrbl="urn:vertexinc:vrbl:ExtensionComponent:1">
  <cec:UBLExtensions>
    <cec:UBLExtension>
      <cec:ExtensionContent>
        <vrbl:InvoiceExtension>
          <vrbl:RoutingDetails>
            <vrbl:Sender>NZ00000000000</vrbl:Sender>
            <vrbl:Receiver>GENERIC_PEPPOL_UBL_NZ_1p0</vrbl:Receiver>
          </vrbl:RoutingDetails>
        </vrbl:InvoiceExtension>
      </cec:ExtensionContent>
    </cec:UBLExtension>
  </cec:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#Invoice#VRBL-Invoice-NZ-1p0</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>INV_00483</cbc:ID>
  <cbc:IssueDate>2022-07-29</cbc:IssueDate>
  <cbc:DueDate>2022-08-30</cbc:DueDate>
  <!-- Invoice type code for self billed invoice -->
  <cbc:InvoiceTypeCode>389</cbc:InvoiceTypeCode>
  <cbc:Note>Adjustment note to reverse prior bill INV_00397</cbc:Note>
  <cbc:DocumentCurrencyCode>NZD</cbc:DocumentCurrencyCode>
  <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>
  <cbc:BuyerReference>0150abc</cbc:BuyerReference>
  <cac:InvoicePeriod>
    <cbc:StartDate>2022-06-01</cbc:StartDate>
    <cbc:EndDate>2022-07-31</cbc:EndDate>
    <cbc:DescriptionCode>3</cbc:DescriptionCode>
  </cac:InvoicePeriod>
  <cac:OrderReference>
    <cbc:ID>PO1245</cbc:ID>
    <cbc:SalesOrderID>SO34678</cbc:SalesOrderID>
  </cac:OrderReference>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>INV_00397</cbc:ID>
      <cbc:IssueDate>2022-05-30</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:AdditionalDocumentReference>
    <cbc:ID>INV_00483.pdf</cbc:ID>
    <cbc:DocumentDescription>Invoice_with_additional_information</cbc:DocumentDescription>
    <cac:Attachment>
      <cbc:EmbeddedDocumentBinaryObject
        mimeCode="application/pdf"
        filename="INV_00483.pdf">aHR0cHM6Ly9naXRodWIuY29tL0EtTlotUEVQUE9ML0EtTlotUEVQUE9MLUJJUy0zLjA=</cbc:EmbeddedDocumentBinaryObject>
    </cac:Attachment>
  </cac:AdditionalDocumentReference>
  <cac:AccountingSupplierParty>
    <cac:Party>
      <!-- Seller 'Peppol ID' -->
      <cbc:EndpointID
        schemeID="0088">9506000140445</cbc:EndpointID>
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">9506000140445</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Supplier Trading Name Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Office 12</cbc:StreetName>
        <cbc:AdditionalStreetName>Main street 1</cbc:AdditionalStreetName>
        <cbc:CityName>Auckland</cbc:CityName>
        <cbc:PostalZone>2912</cbc:PostalZone>
        <cbc:CountrySubentity>AUK</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o front desk</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Supplier Official Name Ltd</cbc:RegistrationName>
        <cbc:CompanyID
          schemeID="0088">9506000140445</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Ronald Ekk</cbc:Name>
        <cbc:Telephone>Mobile 0430123456</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <cac:Party>
      <!-- Buyer/customer 'Peppol ID' -->
      <cbc:EndpointID
        schemeID="0088">9429000000000</cbc:EndpointID>
      <cac:PartyIdentification>
        <cbc:ID
          schemeID="0088">1234567890135</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Trotters Trading Co Ltd</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Floor 15</cbc:StreetName>
        <cbc:AdditionalStreetName>100 Queen Street</cbc:AdditionalStreetName>
        <cbc:CityName>Christchurch</cbc:CityName>
        <cbc:PostalZone>2000</cbc:PostalZone>
        <cbc:CountrySubentity>CAN</cbc:CountrySubentity>
        <cac:AddressLine>
          <cbc:Line>c/o reception</cbc:Line>
        </cac:AddressLine>
        <cac:Country>
          <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Trotters Incorporated</cbc:RegistrationName>
        <!-- Buyer/customer ABN -->
        <cbc:CompanyID
          schemeID="0088">9429000000000</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Lisa Johnson</cbc:Name>
        <cbc:Telephone>0261234567</cbc:Telephone>
        <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>SAA</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>Refund Shipping and Handling</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>-10</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="NZD">-150.00</cbc:Amount>
    <cbc:BaseAmount
      currencyID="NZD">1500</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>65</cbc:AllowanceChargeReasonCode>
    <cbc:AllowanceChargeReason>discount product with production error</cbc:AllowanceChargeReason>
    <cbc:MultiplierFactorNumeric>-20</cbc:MultiplierFactorNumeric>
    <cbc:Amount
      currencyID="NZD">-10.00</cbc:Amount>
    <cbc:BaseAmount
      currencyID="NZD">50</cbc:BaseAmount>
    <cac:TaxCategory>
      <cbc:ID>S</cbc:ID>
      <cbc:Percent>15</cbc:Percent>
      <cac:TaxScheme>
        <cbc:ID>GST</cbc:ID>
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <cac:TaxTotal>
    <cbc:TaxAmount
      currencyID="NZD">-229.11</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount
        currencyID="NZD">-1527.40</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="NZD">-229.11</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount
        currencyID="NZD">-100.00</cbc:TaxableAmount>
      <cbc:TaxAmount
        currencyID="NZD">0.00</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount
      currencyID="NZD">-1487.40</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount
      currencyID="NZD">-1627.40</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount
      currencyID="NZD">-1856.51</cbc:TaxInclusiveAmount>
    <cbc:AllowanceTotalAmount
      currencyID="NZD">-10.00</cbc:AllowanceTotalAmount>
    <cbc:ChargeTotalAmount
      currencyID="NZD">-150.00</cbc:ChargeTotalAmount>
    <cbc:PrepaidAmount
      currencyID="NZD">-50.00</cbc:PrepaidAmount>
    <cbc:PayableRoundingAmount
      currencyID="NZD">0.14</cbc:PayableRoundingAmount>
    <cbc:PayableAmount
      currencyID="NZD">-1806.37</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:Note>Free text giving more information about the Invoice Line</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="E99">-10</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">-299.90</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Description>Widgets True and Fair</cbc:Description>
      <cbc:Name>True-Widgets</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901231</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV"
          listVersionID="v1.3">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV"
          listVersionID="v1.3">1009348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
      <cac:AdditionalItemProperty>
        <cbc:Name>QA</cbc:Name>
        <cbc:Value>Class A</cbc:Value>
      </cac:AdditionalItemProperty>
      <cac:AdditionalItemProperty>
        <cbc:Name>WARRANTY</cbc:Name>
        <cbc:Value>2 years</cbc:Value>
      </cac:AdditionalItemProperty>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">29.99</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="NZD">0.01</cbc:Amount>
        <cbc:BaseAmount
          currencyID="NZD">30.00</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>
    <cbc:Note>Daily rate includes travel time but not travel expenses</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="DAY">-4</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">-900</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>true</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>AAF</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Off premise service delivery</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>-25</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="NZD">-200.00</cbc:Amount>
      <cbc:BaseAmount
        currencyID="NZD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:AllowanceCharge>
      <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
      <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
      <cbc:AllowanceChargeReason>Discount as per contract</cbc:AllowanceChargeReason>
      <cbc:MultiplierFactorNumeric>-12.5</cbc:MultiplierFactorNumeric>
      <cbc:Amount
        currencyID="NZD">-100.00</cbc:Amount>
      <cbc:BaseAmount
        currencyID="NZD">800</cbc:BaseAmount>
    </cac:AllowanceCharge>
    <cac:Item>
      <cbc:Description>Description 2</cbc:Description>
      <cbc:Name>item name 2</cbc:Name>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901248</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NO</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">400</cbc:PriceAmount>
      <cbc:BaseQuantity
        unitCode="DAY">2</cbc:BaseQuantity>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>3</cbc:ID>
    <cbc:Note>Invoice Line Description</cbc:Note>
    <cbc:InvoicedQuantity
      unitCode="M66">-25</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">-187.50</cbc:LineExtensionAmount>
    <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>
    <cac:InvoicePeriod>
      <cbc:StartDate>2022-06-01</cbc:StartDate>
      <cbc:EndDate>2022-07-30</cbc:EndDate>
    </cac:InvoicePeriod>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:DocumentReference>
      <cbc:ID
        schemeID="HWB">9000074677</cbc:ID>
      <cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
    </cac:DocumentReference>
    <cac:Item>
      <cbc:Description>Widgets seconds</cbc:Description>
      <cbc:Name>Widgets (seconds)</cbc:Name>
      <cac:BuyersItemIdentification>
        <cbc:ID>W659590</cbc:ID>
      </cac:BuyersItemIdentification>
      <cac:SellersItemIdentification>
        <cbc:ID>WG546767</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:StandardItemIdentification>
        <cbc:ID
          schemeID="0160">12345678901255</cbc:ID>
      </cac:StandardItemIdentification>
      <cac:OriginCountry>
        <cbc:IdentificationCode>NZ</cbc:IdentificationCode>
      </cac:OriginCountry>
      <cac:CommodityClassification>
        <cbc:ItemClassificationCode
          listID="SRV">09348023</cbc:ItemClassificationCode>
      </cac:CommodityClassification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">7.50</cbc:PriceAmount>
      <cac:AllowanceCharge>
        <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
        <cbc:Amount
          currencyID="NZD">0.00</cbc:Amount>
        <cbc:BaseAmount
          currencyID="NZD">7.50</cbc:BaseAmount>
      </cac:AllowanceCharge>
    </cac:Price>
  </cac:InvoiceLine>
  <cac:InvoiceLine>
    <cbc:ID>4</cbc:ID>
    <cbc:InvoicedQuantity
      unitCode="DAY">-2</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount
      currencyID="NZD">-100.00</cbc:LineExtensionAmount>
    <cac:OrderLineReference>
      <cbc:LineID>123</cbc:LineID>
    </cac:OrderLineReference>
    <cac:Item>
      <cbc:Description>Description 4</cbc:Description>
      <cbc:Name>item name 4</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>Z</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount
        currencyID="NZD">50</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>
</Invoice>

Did this page help you?