<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<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:ccts="urn:un:unece:uncefact:documentation:2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	
	<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
	<cbc:CustomizationID>urn:peppol:pint:billing-1@sg-1</cbc:CustomizationID> <!-- BT-24 -->
	<cbc:ProfileID>urn:peppol:bis:billing</cbc:ProfileID> <!-- BT-23 -->
	
	<cbc:ID>INV/2024/0008</cbc:ID>
	<cbc:UUID>2523149b-cb40-4b32-9004-debca57b80ee</cbc:UUID>
	<cbc:IssueDate>2024-05-05</cbc:IssueDate>
	<cbc:DueDate>2024-06-04</cbc:DueDate>
	<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
	<cbc:Note>PINT TEST STEP 3B: AP/PRSP will create and send PINT.SG. Invoice to Peppol ID 0195:SGTSTIMDAAPTEST01</cbc:Note>
	<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode>
	<cbc:BuyerReference>IMDA1</cbc:BuyerReference>
	<cac:OrderReference>
	    <cbc:ID>MY-PO-3B</cbc:ID>
		<cbc:SalesOrderID>-</cbc:SalesOrderID>
	</cac:OrderReference>

	<cac:AccountingSupplierParty>
	<cac:Party>
		<cbc:EndpointID schemeID="0195">SGTSTBBDEMO02</cbc:EndpointID>
     	<cac:PartyIdentification>
       		<cbc:ID>VID-BBDEMO02</cbc:ID>
      	</cac:PartyIdentification>
		<cac:PostalAddress>
				<cbc:StreetName>Mainstreet 112</cbc:StreetName> <!-- BT-35 -->
				<cbc:CityName>Singapore</cbc:CityName>
				<cbc:PostalZone>229628</cbc:PostalZone>
				<cac:Country>
					<cbc:IdentificationCode>SG</cbc:IdentificationCode>
				</cac:Country>
		</cac:PostalAddress>
		<cac:PartyTaxScheme>
			<cbc:CompanyID>201432336M</cbc:CompanyID>
			<cac:TaxScheme>
				<cbc:ID>GST</cbc:ID>
			</cac:TaxScheme>
		</cac:PartyTaxScheme>
		<cac:PartyLegalEntity>
			<cbc:RegistrationName>BILLBAY DEMO 02</cbc:RegistrationName>
			<cbc:CompanyID>201432336M</cbc:CompanyID>
		</cac:PartyLegalEntity>
		<cac:Contact>
			<cbc:Name>Ravi Maythil</cbc:Name>
			<cbc:ElectronicMail>ravi.maythil@billbay.co</cbc:ElectronicMail>
		</cac:Contact>
	</cac:Party>
	</cac:AccountingSupplierParty>

	<cac:AccountingCustomerParty>
	<cac:Party>
		<cbc:EndpointID schemeID="0195">SGTSTIMDAAPTEST01</cbc:EndpointID>
		<cac:PartyIdentification>
			<cbc:ID schemeID="0195">SGTSTIMDAAPTEST01</cbc:ID>
		</cac:PartyIdentification>
		<cac:PostalAddress>
			<cbc:StreetName>-</cbc:StreetName>
			<cbc:CityName>-</cbc:CityName>
			<cbc:PostalZone>-</cbc:PostalZone>
			<cac:Country>
				<cbc:IdentificationCode>SG</cbc:IdentificationCode>
			</cac:Country>
		</cac:PostalAddress>
		<cac:PartyLegalEntity>
			<cbc:RegistrationName>IMDA_AP TEST01</cbc:RegistrationName>
		</cac:PartyLegalEntity>
		<cac:Contact>
			<cbc:Name>Ze Ming Tan</cbc:Name>
		</cac:Contact>
	</cac:Party>
	</cac:AccountingCustomerParty>

	<cac:PaymentTerms>
			<cbc:Note>30D</cbc:Note>
	</cac:PaymentTerms>

	<cac:TaxTotal>
		<cbc:TaxAmount currencyID="SGD">45</cbc:TaxAmount>
			<cac:TaxSubtotal>
				<cbc:TaxableAmount currencyID="SGD">500</cbc:TaxableAmount>
				<cbc:TaxAmount currencyID="SGD">45</cbc:TaxAmount>
				<cac:TaxCategory>
					<cbc:ID>SR</cbc:ID>
					<cbc:Percent>9</cbc:Percent>
					<cac:TaxScheme>
						<cbc:ID>GST</cbc:ID>
					</cac:TaxScheme>
				</cac:TaxCategory>
			</cac:TaxSubtotal>
	</cac:TaxTotal>

	<cac:LegalMonetaryTotal>
		<cbc:LineExtensionAmount currencyID="SGD">500</cbc:LineExtensionAmount>
		<cbc:TaxExclusiveAmount currencyID="SGD">500</cbc:TaxExclusiveAmount>
		<cbc:TaxInclusiveAmount currencyID="SGD">545</cbc:TaxInclusiveAmount>
		<cbc:AllowanceTotalAmount currencyID="SGD">0</cbc:AllowanceTotalAmount>
		<cbc:PayableAmount currencyID="SGD">545</cbc:PayableAmount>
	</cac:LegalMonetaryTotal>

	<cac:InvoiceLine>
		<cbc:ID>1</cbc:ID>
		<cbc:InvoicedQuantity unitCode="EA">100</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount currencyID="SGD">100</cbc:LineExtensionAmount>
		<cac:OrderLineReference>
			<cbc:LineID>10</cbc:LineID>
		</cac:OrderLineReference>
		<cac:Item>
			<cbc:Name>Apples</cbc:Name>
				<cac:ClassifiedTaxCategory>
					<cbc:ID>SR</cbc:ID>
					<cbc:Percent>9</cbc:Percent>
					<cac:TaxScheme>
						<cbc:ID>GST</cbc:ID>
					</cac:TaxScheme>
				</cac:ClassifiedTaxCategory>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="SGD">1</cbc:PriceAmount>
			<cbc:BaseQuantity unitCode="EA">1</cbc:BaseQuantity>
		</cac:Price>
	</cac:InvoiceLine>

	<cac:InvoiceLine>
		<cbc:ID>2</cbc:ID>
		<cbc:InvoicedQuantity unitCode="EA">200</cbc:InvoicedQuantity>
		<cbc:LineExtensionAmount currencyID="SGD">400</cbc:LineExtensionAmount>
		<cac:OrderLineReference>
			<cbc:LineID>10</cbc:LineID>
		</cac:OrderLineReference>
		<cac:Item>
			<cbc:Name>Oranges</cbc:Name>
				<cac:ClassifiedTaxCategory>
					<cbc:ID>SR</cbc:ID>
					<cbc:Percent>9</cbc:Percent>
					<cac:TaxScheme>
						<cbc:ID>GST</cbc:ID>
					</cac:TaxScheme>
				</cac:ClassifiedTaxCategory>
		</cac:Item>
		<cac:Price>
			<cbc:PriceAmount currencyID="SGD">2</cbc:PriceAmount>
			<cbc:BaseQuantity unitCode="EA">1</cbc:BaseQuantity>
		</cac:Price>
	</cac:InvoiceLine>

	
</Invoice>
