<?xml version="1.0" encoding="UTF-8"?>
<!-- This example demonstrates an Australian simple credit note -->
<CreditNote xmlns="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">
	<cbc:CustomizationID>urn:peppol:pint:billing-1@aunz-1</cbc:CustomizationID>
	<cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID>
	<cbc:ID>CN03</cbc:ID>
	<cbc:IssueDate>2022-07-31</cbc:IssueDate>
	<cbc:CreditNoteTypeCode>381</cbc:CreditNoteTypeCode>
	<cbc:Note>Adjustment note to reverse prior bill Invoice01.</cbc:Note><!-- Free text field can bring attention to reason for credit etc. -->
	<cbc:DocumentCurrencyCode>AUD</cbc:DocumentCurrencyCode>
	<cbc:BuyerReference>0150abc</cbc:BuyerReference> <!-- Purchase Order and/or Buyer Reference MUST be provided -->
	<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</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>
			<cbc:EndpointID schemeID="0151">47555222000</cbc:EndpointID> <!-- Seller 'Peppol ID' -->
			<cac:PostalAddress>
				<cbc:CityName>Harrison</cbc:CityName>
				<cbc:PostalZone>2912</cbc:PostalZone>
				<cbc:CountrySubentity>NSW</cbc:CountrySubentity>
				<cac:Country>
					<cbc:IdentificationCode>AU</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>Supplier Official Name Ltd</cbc:RegistrationName>
				<cbc:CompanyID schemeID="0151">47555222000</cbc:CompanyID> <!-- Seller ABN -->
			</cac:PartyLegalEntity>
		</cac:Party>
	</cac:AccountingSupplierParty>
	<cac:AccountingCustomerParty>
		<!-- Buyer/customer details -->
		<cac:Party>
			<cbc:EndpointID schemeID="0151">91888222000</cbc:EndpointID> <!-- Buyer/customer 'Peppol ID' -->
			<cac:PartyIdentification>
				<cbc:ID>AccountNumber123</cbc:ID> <!-- Buyer/customer account number, assigned by the supplier -->
			</cac:PartyIdentification>
			<cac:PostalAddress>
				<cbc:StreetName>100 Queen Street</cbc:StreetName>
				<cbc:CityName>Sydney</cbc:CityName>
				<cbc:PostalZone>2000</cbc:PostalZone>
				<cbc:CountrySubentity>NSW</cbc:CountrySubentity>
				<cac:Country>
					<cbc:IdentificationCode>AU</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>Trotters Incorporated</cbc:RegistrationName>
				<cbc:CompanyID schemeID="0151">91888222000</cbc:CompanyID> <!-- Buyer/customer ABN -->
			</cac:PartyLegalEntity>
			<cac:Contact>
				<cbc:Name>Lisa Johnson</cbc:Name>
			</cac:Contact>
		</cac:Party>
	</cac:AccountingCustomerParty>
	<cac:TaxTotal>
		<cbc:TaxAmount currencyID="AUD">15.94</cbc:TaxAmount>
		<cac:TaxSubtotal>
			<!-- Subtotal for 'S' Standard-rated tax category of 10% GST -->
			<cbc:TaxableAmount currencyID="AUD">159.43</cbc:TaxableAmount>
			<cbc:TaxAmount currencyID="AUD">15.94</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID>S</cbc:ID>
				<cbc:Percent>10</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>GST</cbc:ID>
				</cac:TaxScheme>
			</cac:TaxCategory>
		</cac:TaxSubtotal>
	</cac:TaxTotal>
	<cac:LegalMonetaryTotal>
		<cbc:LineExtensionAmount currencyID="AUD">159.43</cbc:LineExtensionAmount>
		<cbc:TaxExclusiveAmount currencyID="AUD">159.43</cbc:TaxExclusiveAmount>
		<cbc:TaxInclusiveAmount currencyID="AUD">175.37</cbc:TaxInclusiveAmount>
		<cbc:PayableAmount currencyID="AUD">175.37</cbc:PayableAmount> <!-- Amount to be re-credited -->
	</cac:LegalMonetaryTotal>
	<cac:CreditNoteLine>
		<!-- Line with 10% GST -->
		<cbc:ID>1</cbc:ID>
		<cbc:CreditedQuantity unitCode="KWH">325.2</cbc:CreditedQuantity>
		<cbc:LineExtensionAmount currencyID="AUD">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>10</cbc:Percent> <!-- 10% GST -->
				<cac:TaxScheme>
					<cbc:ID>GST</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="AUD">0.3968</cbc:PriceAmount>
		</cac:Price>
	</cac:CreditNoteLine>
	<cac:CreditNoteLine>
		<!-- Line with 10% GST -->
		<cbc:ID>2</cbc:ID>
		<cbc:CreditedQuantity unitCode="DAY">31</cbc:CreditedQuantity>
		<cbc:LineExtensionAmount currencyID="AUD">30.39</cbc:LineExtensionAmount>
		<cac:Item>
			<cbc:Name>Adjustment - reverse prior Supply charge</cbc:Name>
			<cac:ClassifiedTaxCategory>
				<cbc:ID>S</cbc:ID>
				<cbc:Percent>10</cbc:Percent> <!-- 10% GST -->
				<cac:TaxScheme>
					<cbc:ID>GST</cbc:ID>
				</cac:TaxScheme>
			</cac:ClassifiedTaxCategory>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="AUD">0.9803</cbc:PriceAmount>
		</cac:Price>
	</cac:CreditNoteLine>
</CreditNote>
