> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.staple.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.staple.ai/_mcp/server.

# Import E-Invoice for Singapore

POST https://api.staple.io/v2/einvoice/singapore/queue/{queueId}
Content-Type: application/xml

Import Singapore E-invoice in PEPPOL XML format into a queue

Reference: https://docs.staple.ai/api-reference/v2/e-invoice/import-e-invoice-for-singapore

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: v2
  version: 1.0.0
paths:
  /v2/einvoice/singapore/queue/{queueId}:
    post:
      operationId: importEInvoiceForSingapore
      summary: Import E-Invoice for Singapore
      description: Import Singapore E-invoice in PEPPOL XML format into a queue
      tags:
        - eInvoice
      parameters:
        - name: queueId
          in: path
          required: true
          schema:
            type: string
        - name: isSubmitTax
          in: query
          required: false
          schema:
            type: string
        - name: x-api-key
          in: header
          description: API key issued by Staple.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/E-Invoice_importEInvoiceForSingapore_Response_200
      requestBody:
        content:
          application/json:
            schema:
              description: Any type
servers:
  - url: https://api.staple.io
    description: https://api.staple.io
components:
  schemas:
    E-Invoice_importEInvoiceForSingapore_Response_200:
      type: object
      properties: {}
      description: Empty response body
      title: E-Invoice_importEInvoiceForSingapore_Response_200
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key issued by Staple.
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT obtained from the login endpoint.

```

## Examples



**Request**

```json
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<StandardBusinessDocument xmlns=\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\">\n  <StandardBusinessDocumentHeader>\n    <HeaderVersion>1.0</HeaderVersion>\n    <Sender>\n      <Identifier Authority=\"iso6523-actorid-upis\">0195:SGUEN201612660Z</Identifier>\n    </Sender>\n    <Receiver>\n      <Identifier Authority=\"iso6523-actorid-upis\">0195:SGTST201837052G</Identifier>\n    </Receiver>\n    <DocumentIdentification>\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\n      <TypeVersion>2.1</TypeVersion>\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\n      <Type>Invoice</Type>\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\n    </DocumentIdentification>\n    <BusinessScope>\n      <Scope>\n        <Type>DOCUMENTID</Type>\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\n      </Scope>\n      <Scope>\n        <Type>PROCESSID</Type>\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\n      </Scope>\n      <Scope>\n        <Type>COUNTRY_C1</Type>\n        <InstanceIdentifier>SG</InstanceIdentifier>\n      </Scope>\n    </BusinessScope>\n  </StandardBusinessDocumentHeader>\n<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\">\n\n<!-- \nSingapore invoice\n-->\n\n\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\n\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\n\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\n\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\n\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\n\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\n\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\n\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\n\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\n\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\n\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\n\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\n\t<cac:OrderReference>\n\t\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\n\t\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\n\t</cac:OrderReference>\n\t<cac:BillingReference>\n\t\t<cac:InvoiceDocumentReference>\n\t\t\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\n\t\t\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\n\t\t</cac:InvoiceDocumentReference>\n\t</cac:BillingReference>\n\t<cac:DespatchDocumentReference>\n\t\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\n\t</cac:DespatchDocumentReference>\n\t<cac:ReceiptDocumentReference>\n\t\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\n\t</cac:ReceiptDocumentReference>\n\t<cac:OriginatorDocumentReference>\n\t\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\n\t</cac:OriginatorDocumentReference>\n\t<cac:ContractDocumentReference>\n\t\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\n\t</cac:ContractDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\n\t\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\n\t\t<cac:Attachment>\n\t\t\t<cac:ExternalReference>\n\t\t\t\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\n\t\t\t</cac:ExternalReference>\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\n\t\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\n\t\t<cac:Attachment>\n\t\t\t<cbc:EmbeddedDocumentBinaryObject filename=\"report.csv\" mimeCode=\"text/csv\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\t\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID schemeID=\"ABZ\">951</cbc:ID>  <!-- BT-18 -->\n\t\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\n\t</cac:AdditionalDocumentReference>\n\t<cac:ProjectReference>\n\t\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\n\t</cac:ProjectReference>\n\t<cac:AccountingSupplierParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0195\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0195\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\n\t\t\t</cac:PartyIdentification>\n\t\t\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\n\t\t\t\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\n\t\t\t\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\n\t\t\t\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\n\t\t\t\t</cac:AddressLine>\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyTaxScheme>\n\t\t\t\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:PartyTaxScheme>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\n\t\t\t\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:AccountingSupplierParty>\n\t<cac:AccountingCustomerParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0195\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0195\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\n\t\t\t</cac:PartyIdentification>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\n\t\t\t\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\n\t\t\t\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\n\t\t\t\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\n\t\t\t\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\n\t\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\n\t\t\t\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\n\t\t\t\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:AccountingCustomerParty>\n\t<cac:PayeeParty>\t\n\t\t<cac:PartyIdentification>\n\t\t\t<cbc:ID schemeID=\"0035\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\n\t\t</cac:PartyIdentification>\n\t\t<cac:PartyName>\n\t\t\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\n\t\t</cac:PartyName>\n\t\t<cac:PartyLegalEntity>\n\t\t\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\n\t\t</cac:PartyLegalEntity>\n\t</cac:PayeeParty>\n\t<cac:TaxRepresentativeParty>\t\n\t\t<cac:PartyName>\n\t\t\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\n\t\t</cac:PartyName>\n\t\t<cac:PostalAddress>\n\t\t\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\n\t\t\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\n\t\t\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\n\t\t\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\n\t\t\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\n\t\t\t<cac:AddressLine>\n\t\t\t\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\n\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t<cac:Country>\n\t\t\t\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\n\t\t\t</cac:Country>\n\t\t</cac:PostalAddress>\n\t\t<cac:PartyTaxScheme>\n\t\t\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\n\t\t\t<cac:TaxScheme>\n\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\n\t\t\t</cac:TaxScheme>\n\t\t</cac:PartyTaxScheme>\n\t</cac:TaxRepresentativeParty>\n\t<cac:Delivery>\n\t\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\t\t\n\t\t<cac:DeliveryLocation>\n\t\t\t<cbc:ID schemeID=\"0035\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\n\t\t\t<cac:Address>\n\t\t\t\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\n\t\t\t\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\n\t\t\t\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\n\t\t\t\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\n\t\t\t\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\n\t\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:Address>\n\t\t</cac:DeliveryLocation>\n\t\t<cac:DeliveryParty>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\n\t\t\t</cac:PartyName>\n\t\t</cac:DeliveryParty>\n\t</cac:Delivery>\n\t<cac:PaymentMeans>\n\t\t<cbc:PaymentMeansCode name=\"Bank transfer\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\n\t\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\n\t\t<cac:PayeeFinancialAccount>\n\t\t\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\n\t\t\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\n\t\t\t<cac:FinancialInstitutionBranch>\n\t\t\t\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\n\t\t\t</cac:FinancialInstitutionBranch>\n\t\t</cac:PayeeFinancialAccount>\n\t</cac:PaymentMeans>\n\t<cac:PaymentTerms>\n\t\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\n\t</cac:PaymentTerms>\n\t<cac:TaxTotal>\n\t\t<cbc:TaxAmount currencyID=\"SGD\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\n\t\t<cac:TaxSubtotal>\n\t\t\t<cbc:TaxableAmount currencyID=\"SGD\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\n\t\t\t<cbc:TaxAmount currencyID=\"SGD\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\n\t\t\t<cac:TaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:TaxCategory>\n\t\t</cac:TaxSubtotal>\n\t</cac:TaxTotal>\n\t<cac:LegalMonetaryTotal>\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\n\t\t<cbc:TaxExclusiveAmount currencyID=\"SGD\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\n\t\t<cbc:TaxInclusiveAmount currencyID=\"SGD\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\n\t\t<cbc:AllowanceTotalAmount currencyID=\"SGD\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\n\t\t<cbc:ChargeTotalAmount currencyID=\"SGD\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\n\t\t<cbc:PrepaidAmount currencyID=\"SGD\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\n\t\t<cbc:PayableRoundingAmount currencyID=\"SGD\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\n\t\t<cbc:PayableAmount currencyID=\"SGD\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\n\t</cac:LegalMonetaryTotal>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\n\t\t<cac:OrderLineReference>\n\t\t\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\n\t\t</cac:OrderLineReference>\n\t\t<cac:DocumentReference>\n\t\t\t<cbc:ID schemeID=\"ABZ\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\n\t\t\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\n\t\t</cac:DocumentReference>\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t<cac:AdditionalItemProperty>\n\t\t\t\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\n\t\t\t\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\n\t\t\t</cac:AdditionalItemProperty>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">90.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">200.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">220.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\t\t\n</Invoice>\n</StandardBusinessDocument>"
```

**Response**

```json
"{\n    \"importERP\": {\n        \"requestId\": \"3f8a625f-1881-438a-9d44-382fb7a6d5cd\",\n        \"message\": \"[Peppol] Document creation request has been accepted.\",\n        \"status\": \"SUCCESS\"\n    }\n}"
```

**SDK Code**

```python
import requests

url = "https://api.staple.io/v2/einvoice/singapore/queue/:queueId"

payload = "\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<StandardBusinessDocument xmlns=\\\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\\\">\\n  <StandardBusinessDocumentHeader>\\n    <HeaderVersion>1.0</HeaderVersion>\\n    <Sender>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGUEN201612660Z</Identifier>\\n    </Sender>\\n    <Receiver>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGTST201837052G</Identifier>\\n    </Receiver>\\n    <DocumentIdentification>\\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\\n      <TypeVersion>2.1</TypeVersion>\\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\\n      <Type>Invoice</Type>\\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\\n    </DocumentIdentification>\\n    <BusinessScope>\\n      <Scope>\\n        <Type>DOCUMENTID</Type>\\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>PROCESSID</Type>\\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>COUNTRY_C1</Type>\\n        <InstanceIdentifier>SG</InstanceIdentifier>\\n      </Scope>\\n    </BusinessScope>\\n  </StandardBusinessDocumentHeader>\\n<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\\\">\\n\\n<!-- \\nSingapore invoice\\n-->\\n\\n\\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\\n\\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\\n\\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\\n\\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\\n\\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\\n\\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\\n\\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\\n\\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\\n\\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\\n\\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\\n\\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\\n\\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\\n\\t<cac:OrderReference>\\n\\t\\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\\n\\t\\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\\n\\t</cac:OrderReference>\\n\\t<cac:BillingReference>\\n\\t\\t<cac:InvoiceDocumentReference>\\n\\t\\t\\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\\n\\t\\t\\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\\n\\t\\t</cac:InvoiceDocumentReference>\\n\\t</cac:BillingReference>\\n\\t<cac:DespatchDocumentReference>\\n\\t\\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\\n\\t</cac:DespatchDocumentReference>\\n\\t<cac:ReceiptDocumentReference>\\n\\t\\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\\n\\t</cac:ReceiptDocumentReference>\\n\\t<cac:OriginatorDocumentReference>\\n\\t\\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\\n\\t</cac:OriginatorDocumentReference>\\n\\t<cac:ContractDocumentReference>\\n\\t\\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\\n\\t</cac:ContractDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cac:ExternalReference>\\n\\t\\t\\t\\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\\n\\t\\t\\t</cac:ExternalReference>\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cbc:EmbeddedDocumentBinaryObject filename=\\\"report.csv\\\" mimeCode=\\\"text/csv\\\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\t\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">951</cbc:ID>  <!-- BT-18 -->\\n\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:ProjectReference>\\n\\t\\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\\n\\t</cac:ProjectReference>\\n\\t<cac:AccountingSupplierParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\\n\\t\\t\\t\\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t\\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:PartyTaxScheme>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingSupplierParty>\\n\\t<cac:AccountingCustomerParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\\n\\t\\t\\t\\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\\n\\t\\t\\t\\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingCustomerParty>\\n\\t<cac:PayeeParty>\\t\\n\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\\n\\t\\t</cac:PartyIdentification>\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\\n\\t\\t</cac:PartyLegalEntity>\\n\\t</cac:PayeeParty>\\n\\t<cac:TaxRepresentativeParty>\\t\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PostalAddress>\\n\\t\\t\\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\\n\\t\\t\\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\\n\\t\\t\\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\\n\\t\\t\\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\\n\\t\\t\\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\\n\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\\n\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\\n\\t\\t\\t</cac:Country>\\n\\t\\t</cac:PostalAddress>\\n\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\\n\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\\n\\t\\t\\t</cac:TaxScheme>\\n\\t\\t</cac:PartyTaxScheme>\\n\\t</cac:TaxRepresentativeParty>\\n\\t<cac:Delivery>\\n\\t\\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\\t\\t\\n\\t\\t<cac:DeliveryLocation>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\\n\\t\\t\\t<cac:Address>\\n\\t\\t\\t\\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\\n\\t\\t\\t\\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\\n\\t\\t\\t\\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:Address>\\n\\t\\t</cac:DeliveryLocation>\\n\\t\\t<cac:DeliveryParty>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t</cac:DeliveryParty>\\n\\t</cac:Delivery>\\n\\t<cac:PaymentMeans>\\n\\t\\t<cbc:PaymentMeansCode name=\\\"Bank transfer\\\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\\n\\t\\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\\n\\t\\t<cac:PayeeFinancialAccount>\\n\\t\\t\\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\\n\\t\\t\\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\\n\\t\\t\\t<cac:FinancialInstitutionBranch>\\n\\t\\t\\t\\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\\n\\t\\t\\t</cac:FinancialInstitutionBranch>\\n\\t\\t</cac:PayeeFinancialAccount>\\n\\t</cac:PaymentMeans>\\n\\t<cac:PaymentTerms>\\n\\t\\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\\n\\t</cac:PaymentTerms>\\n\\t<cac:TaxTotal>\\n\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\\n\\t\\t<cac:TaxSubtotal>\\n\\t\\t\\t<cbc:TaxableAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\\n\\t\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\\n\\t\\t\\t<cac:TaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:TaxCategory>\\n\\t\\t</cac:TaxSubtotal>\\n\\t</cac:TaxTotal>\\n\\t<cac:LegalMonetaryTotal>\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\\n\\t\\t<cbc:TaxExclusiveAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\\n\\t\\t<cbc:TaxInclusiveAmount currencyID=\\\"SGD\\\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\\n\\t\\t<cbc:AllowanceTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\\n\\t\\t<cbc:ChargeTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\\n\\t\\t<cbc:PrepaidAmount currencyID=\\\"SGD\\\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\\n\\t\\t<cbc:PayableRoundingAmount currencyID=\\\"SGD\\\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\\n\\t\\t<cbc:PayableAmount currencyID=\\\"SGD\\\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\\n\\t</cac:LegalMonetaryTotal>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\\n\\t\\t<cac:OrderLineReference>\\n\\t\\t\\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\\n\\t\\t</cac:OrderLineReference>\\n\\t\\t<cac:DocumentReference>\\n\\t\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\\n\\t\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\\n\\t\\t</cac:DocumentReference>\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t<cac:AdditionalItemProperty>\\n\\t\\t\\t\\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\\n\\t\\t\\t\\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\\n\\t\\t\\t</cac:AdditionalItemProperty>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">90.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">200.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">220.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\t\\t\\n</Invoice>\\n</StandardBusinessDocument>\""
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/xml"
}

response = requests.post(url, data=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.staple.io/v2/einvoice/singapore/queue/:queueId';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/xml'},
  body: '"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<StandardBusinessDocument xmlns=\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\">\n  <StandardBusinessDocumentHeader>\n    <HeaderVersion>1.0</HeaderVersion>\n    <Sender>\n      <Identifier Authority=\"iso6523-actorid-upis\">0195:SGUEN201612660Z</Identifier>\n    </Sender>\n    <Receiver>\n      <Identifier Authority=\"iso6523-actorid-upis\">0195:SGTST201837052G</Identifier>\n    </Receiver>\n    <DocumentIdentification>\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\n      <TypeVersion>2.1</TypeVersion>\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\n      <Type>Invoice</Type>\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\n    </DocumentIdentification>\n    <BusinessScope>\n      <Scope>\n        <Type>DOCUMENTID</Type>\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\n      </Scope>\n      <Scope>\n        <Type>PROCESSID</Type>\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\n      </Scope>\n      <Scope>\n        <Type>COUNTRY_C1</Type>\n        <InstanceIdentifier>SG</InstanceIdentifier>\n      </Scope>\n    </BusinessScope>\n  </StandardBusinessDocumentHeader>\n<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\">\n\n<!-- \nSingapore invoice\n-->\n\n\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\n\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\n\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\n\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\n\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\n\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\n\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\n\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\n\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\n\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\n\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\n\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\n\t<cac:OrderReference>\n\t\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\n\t\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\n\t</cac:OrderReference>\n\t<cac:BillingReference>\n\t\t<cac:InvoiceDocumentReference>\n\t\t\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\n\t\t\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\n\t\t</cac:InvoiceDocumentReference>\n\t</cac:BillingReference>\n\t<cac:DespatchDocumentReference>\n\t\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\n\t</cac:DespatchDocumentReference>\n\t<cac:ReceiptDocumentReference>\n\t\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\n\t</cac:ReceiptDocumentReference>\n\t<cac:OriginatorDocumentReference>\n\t\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\n\t</cac:OriginatorDocumentReference>\n\t<cac:ContractDocumentReference>\n\t\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\n\t</cac:ContractDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\n\t\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\n\t\t<cac:Attachment>\n\t\t\t<cac:ExternalReference>\n\t\t\t\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\n\t\t\t</cac:ExternalReference>\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\n\t\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\n\t\t<cac:Attachment>\n\t\t\t<cbc:EmbeddedDocumentBinaryObject filename=\"report.csv\" mimeCode=\"text/csv\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\t\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID schemeID=\"ABZ\">951</cbc:ID>  <!-- BT-18 -->\n\t\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\n\t</cac:AdditionalDocumentReference>\n\t<cac:ProjectReference>\n\t\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\n\t</cac:ProjectReference>\n\t<cac:AccountingSupplierParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0195\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0195\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\n\t\t\t</cac:PartyIdentification>\n\t\t\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\n\t\t\t\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\n\t\t\t\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\n\t\t\t\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\n\t\t\t\t</cac:AddressLine>\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyTaxScheme>\n\t\t\t\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:PartyTaxScheme>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\n\t\t\t\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:AccountingSupplierParty>\n\t<cac:AccountingCustomerParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0195\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0195\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\n\t\t\t</cac:PartyIdentification>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\n\t\t\t\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\n\t\t\t\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\n\t\t\t\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\n\t\t\t\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\n\t\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\n\t\t\t\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\n\t\t\t\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:AccountingCustomerParty>\n\t<cac:PayeeParty>\t\n\t\t<cac:PartyIdentification>\n\t\t\t<cbc:ID schemeID=\"0035\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\n\t\t</cac:PartyIdentification>\n\t\t<cac:PartyName>\n\t\t\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\n\t\t</cac:PartyName>\n\t\t<cac:PartyLegalEntity>\n\t\t\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\n\t\t</cac:PartyLegalEntity>\n\t</cac:PayeeParty>\n\t<cac:TaxRepresentativeParty>\t\n\t\t<cac:PartyName>\n\t\t\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\n\t\t</cac:PartyName>\n\t\t<cac:PostalAddress>\n\t\t\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\n\t\t\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\n\t\t\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\n\t\t\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\n\t\t\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\n\t\t\t<cac:AddressLine>\n\t\t\t\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\n\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t<cac:Country>\n\t\t\t\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\n\t\t\t</cac:Country>\n\t\t</cac:PostalAddress>\n\t\t<cac:PartyTaxScheme>\n\t\t\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\n\t\t\t<cac:TaxScheme>\n\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\n\t\t\t</cac:TaxScheme>\n\t\t</cac:PartyTaxScheme>\n\t</cac:TaxRepresentativeParty>\n\t<cac:Delivery>\n\t\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\t\t\n\t\t<cac:DeliveryLocation>\n\t\t\t<cbc:ID schemeID=\"0035\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\n\t\t\t<cac:Address>\n\t\t\t\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\n\t\t\t\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\n\t\t\t\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\n\t\t\t\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\n\t\t\t\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\n\t\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:Address>\n\t\t</cac:DeliveryLocation>\n\t\t<cac:DeliveryParty>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\n\t\t\t</cac:PartyName>\n\t\t</cac:DeliveryParty>\n\t</cac:Delivery>\n\t<cac:PaymentMeans>\n\t\t<cbc:PaymentMeansCode name=\"Bank transfer\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\n\t\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\n\t\t<cac:PayeeFinancialAccount>\n\t\t\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\n\t\t\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\n\t\t\t<cac:FinancialInstitutionBranch>\n\t\t\t\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\n\t\t\t</cac:FinancialInstitutionBranch>\n\t\t</cac:PayeeFinancialAccount>\n\t</cac:PaymentMeans>\n\t<cac:PaymentTerms>\n\t\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\n\t</cac:PaymentTerms>\n\t<cac:TaxTotal>\n\t\t<cbc:TaxAmount currencyID=\"SGD\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\n\t\t<cac:TaxSubtotal>\n\t\t\t<cbc:TaxableAmount currencyID=\"SGD\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\n\t\t\t<cbc:TaxAmount currencyID=\"SGD\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\n\t\t\t<cac:TaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:TaxCategory>\n\t\t</cac:TaxSubtotal>\n\t</cac:TaxTotal>\n\t<cac:LegalMonetaryTotal>\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\n\t\t<cbc:TaxExclusiveAmount currencyID=\"SGD\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\n\t\t<cbc:TaxInclusiveAmount currencyID=\"SGD\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\n\t\t<cbc:AllowanceTotalAmount currencyID=\"SGD\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\n\t\t<cbc:ChargeTotalAmount currencyID=\"SGD\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\n\t\t<cbc:PrepaidAmount currencyID=\"SGD\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\n\t\t<cbc:PayableRoundingAmount currencyID=\"SGD\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\n\t\t<cbc:PayableAmount currencyID=\"SGD\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\n\t</cac:LegalMonetaryTotal>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\n\t\t<cac:OrderLineReference>\n\t\t\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\n\t\t</cac:OrderLineReference>\n\t\t<cac:DocumentReference>\n\t\t\t<cbc:ID schemeID=\"ABZ\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\n\t\t\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\n\t\t</cac:DocumentReference>\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t<cac:AdditionalItemProperty>\n\t\t\t\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\n\t\t\t\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\n\t\t\t</cac:AdditionalItemProperty>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">90.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">200.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">220.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\t\t\n</Invoice>\n</StandardBusinessDocument>"'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.staple.io/v2/einvoice/singapore/queue/:queueId"

	payload := strings.NewReader("\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<StandardBusinessDocument xmlns=\\\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\\\">\\n  <StandardBusinessDocumentHeader>\\n    <HeaderVersion>1.0</HeaderVersion>\\n    <Sender>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGUEN201612660Z</Identifier>\\n    </Sender>\\n    <Receiver>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGTST201837052G</Identifier>\\n    </Receiver>\\n    <DocumentIdentification>\\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\\n      <TypeVersion>2.1</TypeVersion>\\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\\n      <Type>Invoice</Type>\\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\\n    </DocumentIdentification>\\n    <BusinessScope>\\n      <Scope>\\n        <Type>DOCUMENTID</Type>\\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>PROCESSID</Type>\\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>COUNTRY_C1</Type>\\n        <InstanceIdentifier>SG</InstanceIdentifier>\\n      </Scope>\\n    </BusinessScope>\\n  </StandardBusinessDocumentHeader>\\n<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\\\">\\n\\n<!-- \\nSingapore invoice\\n-->\\n\\n\\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\\n\\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\\n\\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\\n\\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\\n\\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\\n\\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\\n\\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\\n\\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\\n\\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\\n\\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\\n\\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\\n\\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\\n\\t<cac:OrderReference>\\n\\t\\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\\n\\t\\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\\n\\t</cac:OrderReference>\\n\\t<cac:BillingReference>\\n\\t\\t<cac:InvoiceDocumentReference>\\n\\t\\t\\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\\n\\t\\t\\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\\n\\t\\t</cac:InvoiceDocumentReference>\\n\\t</cac:BillingReference>\\n\\t<cac:DespatchDocumentReference>\\n\\t\\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\\n\\t</cac:DespatchDocumentReference>\\n\\t<cac:ReceiptDocumentReference>\\n\\t\\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\\n\\t</cac:ReceiptDocumentReference>\\n\\t<cac:OriginatorDocumentReference>\\n\\t\\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\\n\\t</cac:OriginatorDocumentReference>\\n\\t<cac:ContractDocumentReference>\\n\\t\\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\\n\\t</cac:ContractDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cac:ExternalReference>\\n\\t\\t\\t\\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\\n\\t\\t\\t</cac:ExternalReference>\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cbc:EmbeddedDocumentBinaryObject filename=\\\"report.csv\\\" mimeCode=\\\"text/csv\\\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\t\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">951</cbc:ID>  <!-- BT-18 -->\\n\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:ProjectReference>\\n\\t\\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\\n\\t</cac:ProjectReference>\\n\\t<cac:AccountingSupplierParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\\n\\t\\t\\t\\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t\\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:PartyTaxScheme>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingSupplierParty>\\n\\t<cac:AccountingCustomerParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\\n\\t\\t\\t\\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\\n\\t\\t\\t\\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingCustomerParty>\\n\\t<cac:PayeeParty>\\t\\n\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\\n\\t\\t</cac:PartyIdentification>\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\\n\\t\\t</cac:PartyLegalEntity>\\n\\t</cac:PayeeParty>\\n\\t<cac:TaxRepresentativeParty>\\t\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PostalAddress>\\n\\t\\t\\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\\n\\t\\t\\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\\n\\t\\t\\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\\n\\t\\t\\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\\n\\t\\t\\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\\n\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\\n\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\\n\\t\\t\\t</cac:Country>\\n\\t\\t</cac:PostalAddress>\\n\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\\n\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\\n\\t\\t\\t</cac:TaxScheme>\\n\\t\\t</cac:PartyTaxScheme>\\n\\t</cac:TaxRepresentativeParty>\\n\\t<cac:Delivery>\\n\\t\\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\\t\\t\\n\\t\\t<cac:DeliveryLocation>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\\n\\t\\t\\t<cac:Address>\\n\\t\\t\\t\\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\\n\\t\\t\\t\\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\\n\\t\\t\\t\\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:Address>\\n\\t\\t</cac:DeliveryLocation>\\n\\t\\t<cac:DeliveryParty>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t</cac:DeliveryParty>\\n\\t</cac:Delivery>\\n\\t<cac:PaymentMeans>\\n\\t\\t<cbc:PaymentMeansCode name=\\\"Bank transfer\\\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\\n\\t\\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\\n\\t\\t<cac:PayeeFinancialAccount>\\n\\t\\t\\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\\n\\t\\t\\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\\n\\t\\t\\t<cac:FinancialInstitutionBranch>\\n\\t\\t\\t\\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\\n\\t\\t\\t</cac:FinancialInstitutionBranch>\\n\\t\\t</cac:PayeeFinancialAccount>\\n\\t</cac:PaymentMeans>\\n\\t<cac:PaymentTerms>\\n\\t\\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\\n\\t</cac:PaymentTerms>\\n\\t<cac:TaxTotal>\\n\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\\n\\t\\t<cac:TaxSubtotal>\\n\\t\\t\\t<cbc:TaxableAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\\n\\t\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\\n\\t\\t\\t<cac:TaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:TaxCategory>\\n\\t\\t</cac:TaxSubtotal>\\n\\t</cac:TaxTotal>\\n\\t<cac:LegalMonetaryTotal>\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\\n\\t\\t<cbc:TaxExclusiveAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\\n\\t\\t<cbc:TaxInclusiveAmount currencyID=\\\"SGD\\\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\\n\\t\\t<cbc:AllowanceTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\\n\\t\\t<cbc:ChargeTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\\n\\t\\t<cbc:PrepaidAmount currencyID=\\\"SGD\\\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\\n\\t\\t<cbc:PayableRoundingAmount currencyID=\\\"SGD\\\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\\n\\t\\t<cbc:PayableAmount currencyID=\\\"SGD\\\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\\n\\t</cac:LegalMonetaryTotal>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\\n\\t\\t<cac:OrderLineReference>\\n\\t\\t\\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\\n\\t\\t</cac:OrderLineReference>\\n\\t\\t<cac:DocumentReference>\\n\\t\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\\n\\t\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\\n\\t\\t</cac:DocumentReference>\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t<cac:AdditionalItemProperty>\\n\\t\\t\\t\\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\\n\\t\\t\\t\\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\\n\\t\\t\\t</cac:AdditionalItemProperty>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">90.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">200.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">220.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\t\\t\\n</Invoice>\\n</StandardBusinessDocument>\"")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/xml")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.staple.io/v2/einvoice/singapore/queue/:queueId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/xml'
request.body = "\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<StandardBusinessDocument xmlns=\\\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\\\">\\n  <StandardBusinessDocumentHeader>\\n    <HeaderVersion>1.0</HeaderVersion>\\n    <Sender>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGUEN201612660Z</Identifier>\\n    </Sender>\\n    <Receiver>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGTST201837052G</Identifier>\\n    </Receiver>\\n    <DocumentIdentification>\\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\\n      <TypeVersion>2.1</TypeVersion>\\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\\n      <Type>Invoice</Type>\\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\\n    </DocumentIdentification>\\n    <BusinessScope>\\n      <Scope>\\n        <Type>DOCUMENTID</Type>\\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>PROCESSID</Type>\\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>COUNTRY_C1</Type>\\n        <InstanceIdentifier>SG</InstanceIdentifier>\\n      </Scope>\\n    </BusinessScope>\\n  </StandardBusinessDocumentHeader>\\n<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\\\">\\n\\n<!-- \\nSingapore invoice\\n-->\\n\\n\\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\\n\\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\\n\\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\\n\\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\\n\\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\\n\\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\\n\\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\\n\\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\\n\\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\\n\\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\\n\\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\\n\\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\\n\\t<cac:OrderReference>\\n\\t\\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\\n\\t\\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\\n\\t</cac:OrderReference>\\n\\t<cac:BillingReference>\\n\\t\\t<cac:InvoiceDocumentReference>\\n\\t\\t\\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\\n\\t\\t\\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\\n\\t\\t</cac:InvoiceDocumentReference>\\n\\t</cac:BillingReference>\\n\\t<cac:DespatchDocumentReference>\\n\\t\\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\\n\\t</cac:DespatchDocumentReference>\\n\\t<cac:ReceiptDocumentReference>\\n\\t\\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\\n\\t</cac:ReceiptDocumentReference>\\n\\t<cac:OriginatorDocumentReference>\\n\\t\\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\\n\\t</cac:OriginatorDocumentReference>\\n\\t<cac:ContractDocumentReference>\\n\\t\\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\\n\\t</cac:ContractDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cac:ExternalReference>\\n\\t\\t\\t\\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\\n\\t\\t\\t</cac:ExternalReference>\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cbc:EmbeddedDocumentBinaryObject filename=\\\"report.csv\\\" mimeCode=\\\"text/csv\\\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\t\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">951</cbc:ID>  <!-- BT-18 -->\\n\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:ProjectReference>\\n\\t\\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\\n\\t</cac:ProjectReference>\\n\\t<cac:AccountingSupplierParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\\n\\t\\t\\t\\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t\\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:PartyTaxScheme>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingSupplierParty>\\n\\t<cac:AccountingCustomerParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\\n\\t\\t\\t\\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\\n\\t\\t\\t\\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingCustomerParty>\\n\\t<cac:PayeeParty>\\t\\n\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\\n\\t\\t</cac:PartyIdentification>\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\\n\\t\\t</cac:PartyLegalEntity>\\n\\t</cac:PayeeParty>\\n\\t<cac:TaxRepresentativeParty>\\t\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PostalAddress>\\n\\t\\t\\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\\n\\t\\t\\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\\n\\t\\t\\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\\n\\t\\t\\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\\n\\t\\t\\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\\n\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\\n\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\\n\\t\\t\\t</cac:Country>\\n\\t\\t</cac:PostalAddress>\\n\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\\n\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\\n\\t\\t\\t</cac:TaxScheme>\\n\\t\\t</cac:PartyTaxScheme>\\n\\t</cac:TaxRepresentativeParty>\\n\\t<cac:Delivery>\\n\\t\\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\\t\\t\\n\\t\\t<cac:DeliveryLocation>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\\n\\t\\t\\t<cac:Address>\\n\\t\\t\\t\\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\\n\\t\\t\\t\\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\\n\\t\\t\\t\\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:Address>\\n\\t\\t</cac:DeliveryLocation>\\n\\t\\t<cac:DeliveryParty>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t</cac:DeliveryParty>\\n\\t</cac:Delivery>\\n\\t<cac:PaymentMeans>\\n\\t\\t<cbc:PaymentMeansCode name=\\\"Bank transfer\\\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\\n\\t\\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\\n\\t\\t<cac:PayeeFinancialAccount>\\n\\t\\t\\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\\n\\t\\t\\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\\n\\t\\t\\t<cac:FinancialInstitutionBranch>\\n\\t\\t\\t\\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\\n\\t\\t\\t</cac:FinancialInstitutionBranch>\\n\\t\\t</cac:PayeeFinancialAccount>\\n\\t</cac:PaymentMeans>\\n\\t<cac:PaymentTerms>\\n\\t\\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\\n\\t</cac:PaymentTerms>\\n\\t<cac:TaxTotal>\\n\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\\n\\t\\t<cac:TaxSubtotal>\\n\\t\\t\\t<cbc:TaxableAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\\n\\t\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\\n\\t\\t\\t<cac:TaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:TaxCategory>\\n\\t\\t</cac:TaxSubtotal>\\n\\t</cac:TaxTotal>\\n\\t<cac:LegalMonetaryTotal>\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\\n\\t\\t<cbc:TaxExclusiveAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\\n\\t\\t<cbc:TaxInclusiveAmount currencyID=\\\"SGD\\\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\\n\\t\\t<cbc:AllowanceTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\\n\\t\\t<cbc:ChargeTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\\n\\t\\t<cbc:PrepaidAmount currencyID=\\\"SGD\\\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\\n\\t\\t<cbc:PayableRoundingAmount currencyID=\\\"SGD\\\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\\n\\t\\t<cbc:PayableAmount currencyID=\\\"SGD\\\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\\n\\t</cac:LegalMonetaryTotal>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\\n\\t\\t<cac:OrderLineReference>\\n\\t\\t\\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\\n\\t\\t</cac:OrderLineReference>\\n\\t\\t<cac:DocumentReference>\\n\\t\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\\n\\t\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\\n\\t\\t</cac:DocumentReference>\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t<cac:AdditionalItemProperty>\\n\\t\\t\\t\\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\\n\\t\\t\\t\\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\\n\\t\\t\\t</cac:AdditionalItemProperty>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">90.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">200.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">220.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\t\\t\\n</Invoice>\\n</StandardBusinessDocument>\""

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.staple.io/v2/einvoice/singapore/queue/:queueId")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/xml")
  .body("\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<StandardBusinessDocument xmlns=\\\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\\\">\\n  <StandardBusinessDocumentHeader>\\n    <HeaderVersion>1.0</HeaderVersion>\\n    <Sender>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGUEN201612660Z</Identifier>\\n    </Sender>\\n    <Receiver>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGTST201837052G</Identifier>\\n    </Receiver>\\n    <DocumentIdentification>\\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\\n      <TypeVersion>2.1</TypeVersion>\\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\\n      <Type>Invoice</Type>\\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\\n    </DocumentIdentification>\\n    <BusinessScope>\\n      <Scope>\\n        <Type>DOCUMENTID</Type>\\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>PROCESSID</Type>\\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>COUNTRY_C1</Type>\\n        <InstanceIdentifier>SG</InstanceIdentifier>\\n      </Scope>\\n    </BusinessScope>\\n  </StandardBusinessDocumentHeader>\\n<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\\\">\\n\\n<!-- \\nSingapore invoice\\n-->\\n\\n\\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\\n\\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\\n\\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\\n\\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\\n\\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\\n\\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\\n\\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\\n\\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\\n\\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\\n\\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\\n\\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\\n\\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\\n\\t<cac:OrderReference>\\n\\t\\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\\n\\t\\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\\n\\t</cac:OrderReference>\\n\\t<cac:BillingReference>\\n\\t\\t<cac:InvoiceDocumentReference>\\n\\t\\t\\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\\n\\t\\t\\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\\n\\t\\t</cac:InvoiceDocumentReference>\\n\\t</cac:BillingReference>\\n\\t<cac:DespatchDocumentReference>\\n\\t\\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\\n\\t</cac:DespatchDocumentReference>\\n\\t<cac:ReceiptDocumentReference>\\n\\t\\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\\n\\t</cac:ReceiptDocumentReference>\\n\\t<cac:OriginatorDocumentReference>\\n\\t\\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\\n\\t</cac:OriginatorDocumentReference>\\n\\t<cac:ContractDocumentReference>\\n\\t\\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\\n\\t</cac:ContractDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cac:ExternalReference>\\n\\t\\t\\t\\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\\n\\t\\t\\t</cac:ExternalReference>\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cbc:EmbeddedDocumentBinaryObject filename=\\\"report.csv\\\" mimeCode=\\\"text/csv\\\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\t\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">951</cbc:ID>  <!-- BT-18 -->\\n\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:ProjectReference>\\n\\t\\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\\n\\t</cac:ProjectReference>\\n\\t<cac:AccountingSupplierParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\\n\\t\\t\\t\\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t\\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:PartyTaxScheme>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingSupplierParty>\\n\\t<cac:AccountingCustomerParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\\n\\t\\t\\t\\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\\n\\t\\t\\t\\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingCustomerParty>\\n\\t<cac:PayeeParty>\\t\\n\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\\n\\t\\t</cac:PartyIdentification>\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\\n\\t\\t</cac:PartyLegalEntity>\\n\\t</cac:PayeeParty>\\n\\t<cac:TaxRepresentativeParty>\\t\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PostalAddress>\\n\\t\\t\\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\\n\\t\\t\\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\\n\\t\\t\\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\\n\\t\\t\\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\\n\\t\\t\\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\\n\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\\n\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\\n\\t\\t\\t</cac:Country>\\n\\t\\t</cac:PostalAddress>\\n\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\\n\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\\n\\t\\t\\t</cac:TaxScheme>\\n\\t\\t</cac:PartyTaxScheme>\\n\\t</cac:TaxRepresentativeParty>\\n\\t<cac:Delivery>\\n\\t\\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\\t\\t\\n\\t\\t<cac:DeliveryLocation>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\\n\\t\\t\\t<cac:Address>\\n\\t\\t\\t\\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\\n\\t\\t\\t\\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\\n\\t\\t\\t\\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:Address>\\n\\t\\t</cac:DeliveryLocation>\\n\\t\\t<cac:DeliveryParty>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t</cac:DeliveryParty>\\n\\t</cac:Delivery>\\n\\t<cac:PaymentMeans>\\n\\t\\t<cbc:PaymentMeansCode name=\\\"Bank transfer\\\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\\n\\t\\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\\n\\t\\t<cac:PayeeFinancialAccount>\\n\\t\\t\\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\\n\\t\\t\\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\\n\\t\\t\\t<cac:FinancialInstitutionBranch>\\n\\t\\t\\t\\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\\n\\t\\t\\t</cac:FinancialInstitutionBranch>\\n\\t\\t</cac:PayeeFinancialAccount>\\n\\t</cac:PaymentMeans>\\n\\t<cac:PaymentTerms>\\n\\t\\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\\n\\t</cac:PaymentTerms>\\n\\t<cac:TaxTotal>\\n\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\\n\\t\\t<cac:TaxSubtotal>\\n\\t\\t\\t<cbc:TaxableAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\\n\\t\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\\n\\t\\t\\t<cac:TaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:TaxCategory>\\n\\t\\t</cac:TaxSubtotal>\\n\\t</cac:TaxTotal>\\n\\t<cac:LegalMonetaryTotal>\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\\n\\t\\t<cbc:TaxExclusiveAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\\n\\t\\t<cbc:TaxInclusiveAmount currencyID=\\\"SGD\\\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\\n\\t\\t<cbc:AllowanceTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\\n\\t\\t<cbc:ChargeTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\\n\\t\\t<cbc:PrepaidAmount currencyID=\\\"SGD\\\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\\n\\t\\t<cbc:PayableRoundingAmount currencyID=\\\"SGD\\\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\\n\\t\\t<cbc:PayableAmount currencyID=\\\"SGD\\\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\\n\\t</cac:LegalMonetaryTotal>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\\n\\t\\t<cac:OrderLineReference>\\n\\t\\t\\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\\n\\t\\t</cac:OrderLineReference>\\n\\t\\t<cac:DocumentReference>\\n\\t\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\\n\\t\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\\n\\t\\t</cac:DocumentReference>\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t<cac:AdditionalItemProperty>\\n\\t\\t\\t\\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\\n\\t\\t\\t\\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\\n\\t\\t\\t</cac:AdditionalItemProperty>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">90.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">200.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">220.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\t\\t\\n</Invoice>\\n</StandardBusinessDocument>\"")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.staple.io/v2/einvoice/singapore/queue/:queueId', [
  'body' => '"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>\\n<StandardBusinessDocument xmlns=\\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\\">\\n  <StandardBusinessDocumentHeader>\\n    <HeaderVersion>1.0</HeaderVersion>\\n    <Sender>\\n      <Identifier Authority=\\"iso6523-actorid-upis\\">0195:SGUEN201612660Z</Identifier>\\n    </Sender>\\n    <Receiver>\\n      <Identifier Authority=\\"iso6523-actorid-upis\\">0195:SGTST201837052G</Identifier>\\n    </Receiver>\\n    <DocumentIdentification>\\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\\n      <TypeVersion>2.1</TypeVersion>\\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\\n      <Type>Invoice</Type>\\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\\n    </DocumentIdentification>\\n    <BusinessScope>\\n      <Scope>\\n        <Type>DOCUMENTID</Type>\\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>PROCESSID</Type>\\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>COUNTRY_C1</Type>\\n        <InstanceIdentifier>SG</InstanceIdentifier>\\n      </Scope>\\n    </BusinessScope>\\n  </StandardBusinessDocumentHeader>\\n<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\\">\\n\\n<!-- \\nSingapore invoice\\n-->\\n\\n\\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\\n\\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\\n\\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\\n\\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\\n\\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\\n\\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\\n\\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\\n\\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\\n\\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\\n\\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\\n\\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\\n\\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\\n\\t<cac:OrderReference>\\n\\t\\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\\n\\t\\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\\n\\t</cac:OrderReference>\\n\\t<cac:BillingReference>\\n\\t\\t<cac:InvoiceDocumentReference>\\n\\t\\t\\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\\n\\t\\t\\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\\n\\t\\t</cac:InvoiceDocumentReference>\\n\\t</cac:BillingReference>\\n\\t<cac:DespatchDocumentReference>\\n\\t\\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\\n\\t</cac:DespatchDocumentReference>\\n\\t<cac:ReceiptDocumentReference>\\n\\t\\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\\n\\t</cac:ReceiptDocumentReference>\\n\\t<cac:OriginatorDocumentReference>\\n\\t\\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\\n\\t</cac:OriginatorDocumentReference>\\n\\t<cac:ContractDocumentReference>\\n\\t\\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\\n\\t</cac:ContractDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cac:ExternalReference>\\n\\t\\t\\t\\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\\n\\t\\t\\t</cac:ExternalReference>\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cbc:EmbeddedDocumentBinaryObject filename=\\"report.csv\\" mimeCode=\\"text/csv\\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\t\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID schemeID=\\"ABZ\\">951</cbc:ID>  <!-- BT-18 -->\\n\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:ProjectReference>\\n\\t\\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\\n\\t</cac:ProjectReference>\\n\\t<cac:AccountingSupplierParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\"0195\\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\"0195\\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\\n\\t\\t\\t\\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t\\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:PartyTaxScheme>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingSupplierParty>\\n\\t<cac:AccountingCustomerParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\"0195\\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\"0195\\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\\n\\t\\t\\t\\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\\n\\t\\t\\t\\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingCustomerParty>\\n\\t<cac:PayeeParty>\\t\\n\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t<cbc:ID schemeID=\\"0035\\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\\n\\t\\t</cac:PartyIdentification>\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\\n\\t\\t</cac:PartyLegalEntity>\\n\\t</cac:PayeeParty>\\n\\t<cac:TaxRepresentativeParty>\\t\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PostalAddress>\\n\\t\\t\\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\\n\\t\\t\\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\\n\\t\\t\\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\\n\\t\\t\\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\\n\\t\\t\\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\\n\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\\n\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\\n\\t\\t\\t</cac:Country>\\n\\t\\t</cac:PostalAddress>\\n\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\\n\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\\n\\t\\t\\t</cac:TaxScheme>\\n\\t\\t</cac:PartyTaxScheme>\\n\\t</cac:TaxRepresentativeParty>\\n\\t<cac:Delivery>\\n\\t\\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\\t\\t\\n\\t\\t<cac:DeliveryLocation>\\n\\t\\t\\t<cbc:ID schemeID=\\"0035\\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\\n\\t\\t\\t<cac:Address>\\n\\t\\t\\t\\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\\n\\t\\t\\t\\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\\n\\t\\t\\t\\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:Address>\\n\\t\\t</cac:DeliveryLocation>\\n\\t\\t<cac:DeliveryParty>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t</cac:DeliveryParty>\\n\\t</cac:Delivery>\\n\\t<cac:PaymentMeans>\\n\\t\\t<cbc:PaymentMeansCode name=\\"Bank transfer\\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\\n\\t\\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\\n\\t\\t<cac:PayeeFinancialAccount>\\n\\t\\t\\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\\n\\t\\t\\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\\n\\t\\t\\t<cac:FinancialInstitutionBranch>\\n\\t\\t\\t\\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\\n\\t\\t\\t</cac:FinancialInstitutionBranch>\\n\\t\\t</cac:PayeeFinancialAccount>\\n\\t</cac:PaymentMeans>\\n\\t<cac:PaymentTerms>\\n\\t\\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\\n\\t</cac:PaymentTerms>\\n\\t<cac:TaxTotal>\\n\\t\\t<cbc:TaxAmount currencyID=\\"SGD\\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\\n\\t\\t<cac:TaxSubtotal>\\n\\t\\t\\t<cbc:TaxableAmount currencyID=\\"SGD\\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\\n\\t\\t\\t<cbc:TaxAmount currencyID=\\"SGD\\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\\n\\t\\t\\t<cac:TaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:TaxCategory>\\n\\t\\t</cac:TaxSubtotal>\\n\\t</cac:TaxTotal>\\n\\t<cac:LegalMonetaryTotal>\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\"SGD\\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\\n\\t\\t<cbc:TaxExclusiveAmount currencyID=\\"SGD\\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\\n\\t\\t<cbc:TaxInclusiveAmount currencyID=\\"SGD\\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\\n\\t\\t<cbc:AllowanceTotalAmount currencyID=\\"SGD\\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\\n\\t\\t<cbc:ChargeTotalAmount currencyID=\\"SGD\\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\\n\\t\\t<cbc:PrepaidAmount currencyID=\\"SGD\\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\\n\\t\\t<cbc:PayableRoundingAmount currencyID=\\"SGD\\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\\n\\t\\t<cbc:PayableAmount currencyID=\\"SGD\\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\\n\\t</cac:LegalMonetaryTotal>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\"H87\\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\"SGD\\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\\n\\t\\t<cac:OrderLineReference>\\n\\t\\t\\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\\n\\t\\t</cac:OrderLineReference>\\n\\t\\t<cac:DocumentReference>\\n\\t\\t\\t<cbc:ID schemeID=\\"ABZ\\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\\n\\t\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\\n\\t\\t</cac:DocumentReference>\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\"SGD\\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\"SGD\\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\"0160\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\"MP\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t<cac:AdditionalItemProperty>\\n\\t\\t\\t\\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\\n\\t\\t\\t\\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\\n\\t\\t\\t</cac:AdditionalItemProperty>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\"SGD\\">90.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\"H87\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\"H87\\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\"SGD\\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\"SGD\\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\"SGD\\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\"0160\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\"MP\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\"SGD\\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\"H87\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\"H87\\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\"SGD\\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\"SGD\\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\"SGD\\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\"0160\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\"MP\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\"SGD\\">200.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\"H87\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\"H87\\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\"SGD\\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\"SGD\\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\"SGD\\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\"0160\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\"MP\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\"SGD\\">220.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\"H87\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\t\\t\\n</Invoice>\\n</StandardBusinessDocument>"',
  'headers' => [
    'Content-Type' => 'application/xml',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.staple.io/v2/einvoice/singapore/queue/:queueId");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/xml");
request.AddParameter("application/xml", "\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<StandardBusinessDocument xmlns=\\\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\\\">\\n  <StandardBusinessDocumentHeader>\\n    <HeaderVersion>1.0</HeaderVersion>\\n    <Sender>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGUEN201612660Z</Identifier>\\n    </Sender>\\n    <Receiver>\\n      <Identifier Authority=\\\"iso6523-actorid-upis\\\">0195:SGTST201837052G</Identifier>\\n    </Receiver>\\n    <DocumentIdentification>\\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\\n      <TypeVersion>2.1</TypeVersion>\\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\\n      <Type>Invoice</Type>\\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\\n    </DocumentIdentification>\\n    <BusinessScope>\\n      <Scope>\\n        <Type>DOCUMENTID</Type>\\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>PROCESSID</Type>\\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\\n      </Scope>\\n      <Scope>\\n        <Type>COUNTRY_C1</Type>\\n        <InstanceIdentifier>SG</InstanceIdentifier>\\n      </Scope>\\n    </BusinessScope>\\n  </StandardBusinessDocumentHeader>\\n<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\\\">\\n\\n<!-- \\nSingapore invoice\\n-->\\n\\n\\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\\n\\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\\n\\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\\n\\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\\n\\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\\n\\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\\n\\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\\n\\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\\n\\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\\n\\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\\n\\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\\n\\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\\n\\t<cac:OrderReference>\\n\\t\\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\\n\\t\\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\\n\\t</cac:OrderReference>\\n\\t<cac:BillingReference>\\n\\t\\t<cac:InvoiceDocumentReference>\\n\\t\\t\\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\\n\\t\\t\\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\\n\\t\\t</cac:InvoiceDocumentReference>\\n\\t</cac:BillingReference>\\n\\t<cac:DespatchDocumentReference>\\n\\t\\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\\n\\t</cac:DespatchDocumentReference>\\n\\t<cac:ReceiptDocumentReference>\\n\\t\\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\\n\\t</cac:ReceiptDocumentReference>\\n\\t<cac:OriginatorDocumentReference>\\n\\t\\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\\n\\t</cac:OriginatorDocumentReference>\\n\\t<cac:ContractDocumentReference>\\n\\t\\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\\n\\t</cac:ContractDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cac:ExternalReference>\\n\\t\\t\\t\\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\\n\\t\\t\\t</cac:ExternalReference>\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\\n\\t\\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\\n\\t\\t<cac:Attachment>\\n\\t\\t\\t<cbc:EmbeddedDocumentBinaryObject filename=\\\"report.csv\\\" mimeCode=\\\"text/csv\\\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\\n\\t\\t</cac:Attachment>\\n\\t</cac:AdditionalDocumentReference>\\t\\n\\t<cac:AdditionalDocumentReference>\\n\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">951</cbc:ID>  <!-- BT-18 -->\\n\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\\n\\t</cac:AdditionalDocumentReference>\\n\\t<cac:ProjectReference>\\n\\t\\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\\n\\t</cac:ProjectReference>\\n\\t<cac:AccountingSupplierParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\\n\\t\\t\\t\\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t\\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:PartyTaxScheme>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingSupplierParty>\\n\\t<cac:AccountingCustomerParty>\\n\\t\\t<cac:Party>\\n\\t\\t\\t<cbc:EndpointID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\\n\\t\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0195\\\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\\n\\t\\t\\t</cac:PartyIdentification>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t\\t<cac:PostalAddress>\\n\\t\\t\\t\\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\\n\\t\\t\\t\\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\\n\\t\\t\\t\\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:PostalAddress>\\n\\t\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t\\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\\n\\t\\t\\t</cac:PartyLegalEntity>\\n\\t\\t\\t<cac:Contact>\\n\\t\\t\\t\\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\\n\\t\\t\\t\\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\\n\\t\\t\\t\\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\\n\\t\\t\\t</cac:Contact>\\n\\t\\t</cac:Party>\\n\\t</cac:AccountingCustomerParty>\\n\\t<cac:PayeeParty>\\t\\n\\t\\t<cac:PartyIdentification>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\\n\\t\\t</cac:PartyIdentification>\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PartyLegalEntity>\\n\\t\\t\\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\\n\\t\\t</cac:PartyLegalEntity>\\n\\t</cac:PayeeParty>\\n\\t<cac:TaxRepresentativeParty>\\t\\n\\t\\t<cac:PartyName>\\n\\t\\t\\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\\n\\t\\t</cac:PartyName>\\n\\t\\t<cac:PostalAddress>\\n\\t\\t\\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\\n\\t\\t\\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\\n\\t\\t\\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\\n\\t\\t\\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\\n\\t\\t\\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\\n\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\\n\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\\n\\t\\t\\t</cac:Country>\\n\\t\\t</cac:PostalAddress>\\n\\t\\t<cac:PartyTaxScheme>\\n\\t\\t\\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\\n\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\\n\\t\\t\\t</cac:TaxScheme>\\n\\t\\t</cac:PartyTaxScheme>\\n\\t</cac:TaxRepresentativeParty>\\n\\t<cac:Delivery>\\n\\t\\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\\t\\t\\n\\t\\t<cac:DeliveryLocation>\\n\\t\\t\\t<cbc:ID schemeID=\\\"0035\\\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\\n\\t\\t\\t<cac:Address>\\n\\t\\t\\t\\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\\n\\t\\t\\t\\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\\n\\t\\t\\t\\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\\n\\t\\t\\t\\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\\n\\t\\t\\t\\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\\n\\t\\t\\t\\t<cac:AddressLine>\\n\\t\\t\\t\\t\\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\\n\\t\\t\\t\\t</cac:AddressLine>\\t\\t\\t\\t\\n\\t\\t\\t\\t<cac:Country>\\n\\t\\t\\t\\t\\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\\n\\t\\t\\t\\t</cac:Country>\\n\\t\\t\\t</cac:Address>\\n\\t\\t</cac:DeliveryLocation>\\n\\t\\t<cac:DeliveryParty>\\n\\t\\t\\t<cac:PartyName>\\n\\t\\t\\t\\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\\n\\t\\t\\t</cac:PartyName>\\n\\t\\t</cac:DeliveryParty>\\n\\t</cac:Delivery>\\n\\t<cac:PaymentMeans>\\n\\t\\t<cbc:PaymentMeansCode name=\\\"Bank transfer\\\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\\n\\t\\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\\n\\t\\t<cac:PayeeFinancialAccount>\\n\\t\\t\\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\\n\\t\\t\\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\\n\\t\\t\\t<cac:FinancialInstitutionBranch>\\n\\t\\t\\t\\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\\n\\t\\t\\t</cac:FinancialInstitutionBranch>\\n\\t\\t</cac:PayeeFinancialAccount>\\n\\t</cac:PaymentMeans>\\n\\t<cac:PaymentTerms>\\n\\t\\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\\n\\t</cac:PaymentTerms>\\n\\t<cac:TaxTotal>\\n\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\\n\\t\\t<cac:TaxSubtotal>\\n\\t\\t\\t<cbc:TaxableAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\\n\\t\\t\\t<cbc:TaxAmount currencyID=\\\"SGD\\\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\\n\\t\\t\\t<cac:TaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:TaxCategory>\\n\\t\\t</cac:TaxSubtotal>\\n\\t</cac:TaxTotal>\\n\\t<cac:LegalMonetaryTotal>\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\\n\\t\\t<cbc:TaxExclusiveAmount currencyID=\\\"SGD\\\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\\n\\t\\t<cbc:TaxInclusiveAmount currencyID=\\\"SGD\\\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\\n\\t\\t<cbc:AllowanceTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\\n\\t\\t<cbc:ChargeTotalAmount currencyID=\\\"SGD\\\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\\n\\t\\t<cbc:PrepaidAmount currencyID=\\\"SGD\\\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\\n\\t\\t<cbc:PayableRoundingAmount currencyID=\\\"SGD\\\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\\n\\t\\t<cbc:PayableAmount currencyID=\\\"SGD\\\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\\n\\t</cac:LegalMonetaryTotal>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\\n\\t\\t<cac:OrderLineReference>\\n\\t\\t\\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\\n\\t\\t</cac:OrderLineReference>\\n\\t\\t<cac:DocumentReference>\\n\\t\\t\\t<cbc:ID schemeID=\\\"ABZ\\\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\\n\\t\\t\\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\\n\\t\\t</cac:DocumentReference>\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t<cac:AdditionalItemProperty>\\n\\t\\t\\t\\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\\n\\t\\t\\t\\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\\n\\t\\t\\t</cac:AdditionalItemProperty>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">90.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">200.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\n\\t<cac:InvoiceLine>\\n\\t\\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\\n\\t\\t<cbc:InvoicedQuantity unitCode=\\\"H87\\\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\\n\\t\\t<cbc:LineExtensionAmount currencyID=\\\"SGD\\\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\\n\\t\\t<cac:AllowanceCharge>\\n\\t\\t\\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\\n\\t\\t\\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\\n\\t\\t\\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\\n\\t\\t\\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\\n\\t\\t\\t<cbc:Amount currencyID=\\\"SGD\\\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\\n\\t\\t\\t<cbc:BaseAmount currencyID=\\\"SGD\\\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\\n\\t\\t</cac:AllowanceCharge>\\t\\t\\n\\t\\t<cac:Item>\\n\\t\\t\\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\\n\\t\\t\\t<cac:SellersItemIdentification>\\n\\t\\t\\t\\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\\n\\t\\t\\t</cac:SellersItemIdentification>\\n\\t\\t\\t<cac:StandardItemIdentification>\\n\\t\\t\\t\\t<cbc:ID schemeID=\\\"0160\\\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\\n\\t\\t\\t</cac:StandardItemIdentification>\\n\\t\\t\\t<cac:OriginCountry>\\n\\t\\t\\t\\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\\n\\t\\t\\t</cac:OriginCountry>\\n\\t\\t\\t<cac:CommodityClassification>\\n\\t\\t\\t\\t<cbc:ItemClassificationCode listID=\\\"MP\\\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\\n\\t\\t\\t</cac:CommodityClassification>\\n\\t\\t\\t<cac:ClassifiedTaxCategory>\\n\\t\\t\\t\\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\\n\\t\\t\\t\\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\\n\\t\\t\\t\\t<cac:TaxScheme>\\n\\t\\t\\t\\t\\t<cbc:ID>GST</cbc:ID>\\n\\t\\t\\t\\t</cac:TaxScheme>\\n\\t\\t\\t</cac:ClassifiedTaxCategory>\\n\\t\\t</cac:Item>\\n\\t\\t<cac:Price>\\n\\t\\t\\t<cbc:PriceAmount currencyID=\\\"SGD\\\">220.00</cbc:PriceAmount> <!-- BT-146 -->\\n\\t\\t\\t<cbc:BaseQuantity unitCode=\\\"H87\\\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\\n\\t\\t</cac:Price>\\n\\t</cac:InvoiceLine>\\t\\t\\n</Invoice>\\n</StandardBusinessDocument>\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/xml"
]

let postData = NSData(data: ""<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<StandardBusinessDocument xmlns=\"http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader\">\n  <StandardBusinessDocumentHeader>\n    <HeaderVersion>1.0</HeaderVersion>\n    <Sender>\n      <Identifier Authority=\"iso6523-actorid-upis\">0195:SGUEN201612660Z</Identifier>\n    </Sender>\n    <Receiver>\n      <Identifier Authority=\"iso6523-actorid-upis\">0195:SGTST201837052G</Identifier>\n    </Receiver>\n    <DocumentIdentification>\n      <Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</Standard>\n      <TypeVersion>2.1</TypeVersion>\n      <InstanceIdentifier>SAMPLE02</InstanceIdentifier>\n      <Type>Invoice</Type>\n      <CreationDateAndTime>2024-06-14T14:00:01Z</CreationDateAndTime>\n    </DocumentIdentification>\n    <BusinessScope>\n      <Scope>\n        <Type>DOCUMENTID</Type>\n        <InstanceIdentifier>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1</InstanceIdentifier>\n      </Scope>\n      <Scope>\n        <Type>PROCESSID</Type>\n        <InstanceIdentifier>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</InstanceIdentifier>\n      </Scope>\n      <Scope>\n        <Type>COUNTRY_C1</Type>\n        <InstanceIdentifier>SG</InstanceIdentifier>\n      </Scope>\n    </BusinessScope>\n  </StandardBusinessDocumentHeader>\n<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\">\n\n<!-- \nSingapore invoice\n-->\n\n\t<cbc:UBLVersionID>2.1</cbc:UBLVersionID>\n\t<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID> <!-- BT-24 -->\n\t<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID> <!-- BT-23 -->\n\t<cbc:ID>TEST-INV_001</cbc:ID> <!-- BT-1 -->\n\t<cbc:UUID>cc4364ef-995d-48cc-a4e9-4afb1349f4cd</cbc:UUID>\n\t<cbc:IssueDate>2024-06-14</cbc:IssueDate> <!-- BT-2 -->\n\t<cbc:DueDate>2024-06-30</cbc:DueDate> <!-- BT-9 -->\n\t<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <!-- BT-3 -->\n\t<cbc:Note>Ordered at trade show</cbc:Note> <!-- BT-22 -->\n\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode> <!-- BT-5 -->\n\t<cbc:AccountingCost>102035</cbc:AccountingCost> <!-- BT-19 -->\n\t<cbc:BuyerReference>123</cbc:BuyerReference> <!-- BT-10 -->\n\t<cac:OrderReference>\n\t\t<cbc:ID>123</cbc:ID> <!-- BT-13 -->\n\t\t<cbc:SalesOrderID>123</cbc:SalesOrderID>  <!-- BT-14 -->\n\t</cac:OrderReference>\n\t<cac:BillingReference>\n\t\t<cac:InvoiceDocumentReference>\n\t\t\t<cbc:ID>invnr002</cbc:ID>  <!-- BT-25 -->\n\t\t\t<cbc:IssueDate>2022-09-01</cbc:IssueDate>  <!-- BT-26 -->\n\t\t</cac:InvoiceDocumentReference>\n\t</cac:BillingReference>\n\t<cac:DespatchDocumentReference>\n\t\t<cbc:ID>987</cbc:ID>  <!-- BT-16 -->\n\t</cac:DespatchDocumentReference>\n\t<cac:ReceiptDocumentReference>\n\t\t<cbc:ID>654</cbc:ID>  <!-- BT-15 -->\n\t</cac:ReceiptDocumentReference>\n\t<cac:OriginatorDocumentReference>\n\t\t<cbc:ID>753</cbc:ID>  <!-- BT-17 -->\n\t</cac:OriginatorDocumentReference>\n\t<cac:ContractDocumentReference>\n\t\t<cbc:ID>Contract321</cbc:ID> <!-- BT-12 -->\n\t</cac:ContractDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>doc1</cbc:ID>  <!-- BT-122 -->\n\t\t<cbc:DocumentDescription>Usage breakdown</cbc:DocumentDescription>  <!-- BT-123 -->\n\t\t<cac:Attachment>\n\t\t\t<cac:ExternalReference>\n\t\t\t\t<cbc:URI>http://www.salescompany.be/breakdown001.html</cbc:URI>  <!-- BT-124 -->\n\t\t\t</cac:ExternalReference>\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>doc2</cbc:ID>  <!-- BT-122 -->\n\t\t<cbc:DocumentDescription>Usage summary</cbc:DocumentDescription>  <!-- BT-123 -->\n\t\t<cac:Attachment>\n\t\t\t<cbc:EmbeddedDocumentBinaryObject filename=\"report.csv\" mimeCode=\"text/csv\">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>   <!-- BT-125 -->\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\t\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID schemeID=\"ABZ\">951</cbc:ID>  <!-- BT-18 -->\n\t\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>  <!-- BT-18 qualifier -->\n\t</cac:AdditionalDocumentReference>\n\t<cac:ProjectReference>\n\t\t<cbc:ID>321</cbc:ID> <!-- BT-11 -->\n\t</cac:ProjectReference>\n\t<cac:AccountingSupplierParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0195\">SGUENR12RLC0007</cbc:EndpointID> <!-- BT-34, BT-34-1 -->\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0195\">SUPPLIER</cbc:ID> <!-- BT-29, BT-29-1 -->\n\t\t\t</cac:PartyIdentification>\n\t\t\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Sales trade name</cbc:Name> <!-- BT-28 -->\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>Spottiswoode Park Rd</cbc:StreetName> <!-- BT-35 -->\n\t\t\t\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-37 -->\n\t\t\t\t<cbc:PostalZone>880402</cbc:PostalZone> <!-- BT-38 -->\n\t\t\t\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-39 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Sales department</cbc:Line> <!-- BT-162 -->\n\t\t\t\t</cac:AddressLine>\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-40 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyTaxScheme>\n\t\t\t\t<cbc:CompanyID>M2-1234567-K</cbc:CompanyID> <!-- BT-31 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-31, qualifier -->\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:PartyTaxScheme>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>DT TEST Account</cbc:RegistrationName> <!-- BT-27 -->\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>SUPPLIERNAME</cbc:Name>  <!-- BT-41 -->\n\t\t\t\t<cbc:ElectronicMail>dtagliaferri@digtechs.com</cbc:ElectronicMail> <!-- BT-43 -->\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:AccountingSupplierParty>\n\t<cac:AccountingCustomerParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0195\">SGTSTIMDASANDBOX</cbc:EndpointID> <!-- BT-49, BT-49-1 -->\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0195\">SGTSTIMDASANDBOX</cbc:ID> <!-- BT-46, BT-46-1 -->\n\t\t\t</cac:PartyIdentification>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Buyer trade name</cbc:Name> <!-- BT-44 -->\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>Central road 56</cbc:StreetName> <!-- BT-50 -->\n\t\t\t\t<cbc:AdditionalStreetName>Second floor</cbc:AdditionalStreetName> <!-- BT-51 -->\n\t\t\t\t<cbc:CityName>Singapore</cbc:CityName> <!-- BT-52 -->\n\t\t\t\t<cbc:PostalZone>101</cbc:PostalZone> <!-- BT-53 -->\n\t\t\t\t<cbc:CountrySubentity>Singapore</cbc:CountrySubentity> <!-- BT-54 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Accounting department</cbc:Line> <!-- BT-163 -->\n\t\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-55 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>IMDA Test Account</cbc:RegistrationName> <!-- BT-45 -->\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>Bill</cbc:Name> <!-- BT-56 -->\n\t\t\t\t<cbc:Telephone>5121230</cbc:Telephone> <!-- BT-57 -->\n\t\t\t\t<cbc:ElectronicMail>einvoice@imda.com.sg</cbc:ElectronicMail> <!-- BT-58 -->\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:AccountingCustomerParty>\n\t<cac:PayeeParty>\t\n\t\t<cac:PartyIdentification>\n\t\t\t<cbc:ID schemeID=\"0035\">Payee123</cbc:ID> <!-- BT-60, BT-60-1 -->\n\t\t</cac:PartyIdentification>\n\t\t<cac:PartyName>\n\t\t\t<cbc:Name>Faktor Inc</cbc:Name> <!-- BT-59 -->\n\t\t</cac:PartyName>\n\t\t<cac:PartyLegalEntity>\n\t\t\t<cbc:CompanyID>5507983699</cbc:CompanyID> <!-- BT-61, BT-61-1 -->\n\t\t</cac:PartyLegalEntity>\n\t</cac:PayeeParty>\n\t<cac:TaxRepresentativeParty>\t\n\t\t<cac:PartyName>\n\t\t\t<cbc:Name>TaxRepresentative name</cbc:Name> <!-- BT-62 -->\n\t\t</cac:PartyName>\n\t\t<cac:PostalAddress>\n\t\t\t<cbc:StreetName>Rue Cler 99</cbc:StreetName> <!-- BT-64 -->\n\t\t\t<cbc:AdditionalStreetName>Ground floor</cbc:AdditionalStreetName> <!-- BT-65 -->\n\t\t\t<cbc:CityName>Paris</cbc:CityName> <!-- BT-66 -->\n\t\t\t<cbc:PostalZone>220</cbc:PostalZone> <!-- BT-67 -->\n\t\t\t<cbc:CountrySubentity>Île-de-France</cbc:CountrySubentity> <!-- BT-68 -->\n\t\t\t<cac:AddressLine>\n\t\t\t\t<cbc:Line>Tax service department</cbc:Line> <!-- BT-164 -->\n\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t<cac:Country>\n\t\t\t\t<cbc:IdentificationCode>FR</cbc:IdentificationCode> <!-- BT-69 -->\n\t\t\t</cac:Country>\n\t\t</cac:PostalAddress>\n\t\t<cac:PartyTaxScheme>\n\t\t\t<cbc:CompanyID>FR98746</cbc:CompanyID> <!-- BT-63 -->\n\t\t\t<cac:TaxScheme>\n\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-63, qualifier -->\n\t\t\t</cac:TaxScheme>\n\t\t</cac:PartyTaxScheme>\n\t</cac:TaxRepresentativeParty>\n\t<cac:Delivery>\n\t\t<cbc:ActualDeliveryDate>2023-10-20</cbc:ActualDeliveryDate> <!-- BT-72 -->\t\t\n\t\t<cac:DeliveryLocation>\n\t\t\t<cbc:ID schemeID=\"0035\">6754238987648</cbc:ID> <!-- BT-71, BT-71-1 -->\n\t\t\t<cac:Address>\n\t\t\t\t<cbc:StreetName>Coolsingel Rotterdam 12</cbc:StreetName> <!-- BT-75 -->\n\t\t\t\t<cbc:AdditionalStreetName>By the big house</cbc:AdditionalStreetName> <!-- BT-76 -->\n\t\t\t\t<cbc:CityName>Rotterdam</cbc:CityName> <!-- BT-77 -->\n\t\t\t\t<cbc:PostalZone>700</cbc:PostalZone> <!-- BT-78 -->\n\t\t\t\t<cbc:CountrySubentity>South Holland</cbc:CountrySubentity> <!-- BT-79 -->\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Delivery department</cbc:Line> <!-- BT-165 -->\n\t\t\t\t</cac:AddressLine>\t\t\t\t\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SG</cbc:IdentificationCode> <!-- BT-80 -->\n\t\t\t\t</cac:Country>\n\t\t\t</cac:Address>\n\t\t</cac:DeliveryLocation>\n\t\t<cac:DeliveryParty>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Delivery services Inc.</cbc:Name> <!-- BT-70 -->\n\t\t\t</cac:PartyName>\n\t\t</cac:DeliveryParty>\n\t</cac:Delivery>\n\t<cac:PaymentMeans>\n\t\t<cbc:PaymentMeansCode name=\"Bank transfer\">30</cbc:PaymentMeansCode> <!-- BT-82, BT-81 -->\n\t\t<cbc:PaymentID>gr12345</cbc:PaymentID> <!-- BT-83 -->\n\t\t<cac:PayeeFinancialAccount>\n\t\t\t<cbc:ID>000166000001</cbc:ID> <!-- BT-84 -->\n\t\t\t<cbc:Name>Payee current account</cbc:Name> <!-- BT-85 -->\n\t\t\t<cac:FinancialInstitutionBranch>\n\t\t\t\t<cbc:ID>ICDLOG</cbc:ID> <!-- BT-86 -->\n\t\t\t</cac:FinancialInstitutionBranch>\n\t\t</cac:PayeeFinancialAccount>\n\t</cac:PaymentMeans>\n\t<cac:PaymentTerms>\n\t\t<cbc:Note>Late fees of 1% charged from due date</cbc:Note> <!-- BT-20 -->\n\t</cac:PaymentTerms>\n\t<cac:TaxTotal>\n\t\t<cbc:TaxAmount currencyID=\"SGD\">2374.05</cbc:TaxAmount> <!-- BT-110 -->\n\t\t<cac:TaxSubtotal>\n\t\t\t<cbc:TaxableAmount currencyID=\"SGD\">33915.00</cbc:TaxableAmount> <!-- BT-116 -->\n\t\t\t<cbc:TaxAmount currencyID=\"SGD\">2374.05</cbc:TaxAmount> <!-- BT-117 -->\n\t\t\t<cac:TaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-118 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-119 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID> <!-- BT-118, qualifier -->\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:TaxCategory>\n\t\t</cac:TaxSubtotal>\n\t</cac:TaxTotal>\n\t<cac:LegalMonetaryTotal>\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">33915.00</cbc:LineExtensionAmount> <!-- BT-106 -->\n\t\t<cbc:TaxExclusiveAmount currencyID=\"SGD\">33915.00</cbc:TaxExclusiveAmount> <!-- BT-109 -->\n\t\t<cbc:TaxInclusiveAmount currencyID=\"SGD\">36289.05</cbc:TaxInclusiveAmount> <!-- BT-112 -->\n\t\t<cbc:AllowanceTotalAmount currencyID=\"SGD\">0.00</cbc:AllowanceTotalAmount> <!-- BT-107 -->\n\t\t<cbc:ChargeTotalAmount currencyID=\"SGD\">0.00</cbc:ChargeTotalAmount> <!-- BT-108 -->\n\t\t<cbc:PrepaidAmount currencyID=\"SGD\">0.00</cbc:PrepaidAmount> <!-- BT-113 -->\n\t\t<cbc:PayableRoundingAmount currencyID=\"SGD\">0.0</cbc:PayableRoundingAmount> <!-- BT-114 -->\n\t\t<cbc:PayableAmount currencyID=\"SGD\">36289.05</cbc:PayableAmount> <!-- BT-115 -->\n\t</cac:LegalMonetaryTotal>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>1</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:Note>The equipment has 3 year warranty.</cbc:Note> <!-- BT-127 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">10</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">855.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cbc:AccountingCost>Cost id 654</cbc:AccountingCost> <!-- BT-133 -->\n\t\t<cac:OrderLineReference>\n\t\t\t<cbc:LineID>1</cbc:LineID> <!-- BT-132 -->\n\t\t</cac:OrderLineReference>\n\t\t<cac:DocumentReference>\n\t\t\t<cbc:ID schemeID=\"ABZ\">AB-123</cbc:ID> <!-- BT-128, BT-128-1 -->\n\t\t\t<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode> <!-- BT-128, qualifier -->\n\t\t</cac:DocumentReference>\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">45.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">900.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Yashica MG2</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item1</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t<cac:AdditionalItemProperty>\n\t\t\t\t<cbc:Name>Colour</cbc:Name> <!-- BT-160 -->\n\t\t\t\t<cbc:Value>Black</cbc:Value> <!-- BT-161 -->\n\t\t\t</cac:AdditionalItemProperty>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">90.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>2</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">20</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">19000.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">1000.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">20000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Pentax Z-1 Body</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item2</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">1000.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>3</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">30</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">5700.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">300.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">6000.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Camera W35</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item3</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">200.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\n\t<cac:InvoiceLine>\n\t\t<cbc:ID>4</cbc:ID> <!-- BT-126 -->\n\t\t<cbc:InvoicedQuantity unitCode=\"H87\">40</cbc:InvoicedQuantity> <!-- BT-130, BT-129 -->\n\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">8360.00</cbc:LineExtensionAmount> <!-- BT-131 -->\n\t\t<cac:AllowanceCharge>\n\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator> <!-- qualifier -->\n\t\t\t<cbc:AllowanceChargeReasonCode>100</cbc:AllowanceChargeReasonCode> <!-- BT-140, BT-145 -->\n\t\t\t<cbc:AllowanceChargeReason>Line discount</cbc:AllowanceChargeReason> <!-- BT-139, BT-144 -->\n\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric> <!-- BT-138, BT-143 -->\n\t\t\t<cbc:Amount currencyID=\"SGD\">440.00</cbc:Amount> <!-- BT-136, BT-141 -->\n\t\t\t<cbc:BaseAmount currencyID=\"SGD\">8800.00</cbc:BaseAmount> <!-- BT-137, BT-142 -->\n\t\t</cac:AllowanceCharge>\t\t\n\t\t<cac:Item>\n\t\t\t<cbc:Name>Camera Prima 5</cbc:Name> <!-- BT-153 -->\n\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t<cbc:ID>Item4</cbc:ID> <!-- BT-155 -->\n\t\t\t</cac:SellersItemIdentification>\n\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t<cbc:ID schemeID=\"0160\">1234567890121</cbc:ID> <!-- BT-157, BT-157-1 -->\n\t\t\t</cac:StandardItemIdentification>\n\t\t\t<cac:OriginCountry>\n\t\t\t\t<cbc:IdentificationCode>CH</cbc:IdentificationCode> <!-- BT-159 -->\n\t\t\t</cac:OriginCountry>\n\t\t\t<cac:CommodityClassification>\n\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\">43211503</cbc:ItemClassificationCode> <!-- BT-158, BT-158-1 -->\n\t\t\t</cac:CommodityClassification>\n\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t<cbc:ID>SR</cbc:ID> <!-- BT-151 -->\n\t\t\t\t<cbc:Percent>7</cbc:Percent> <!-- BT-152 -->\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>GST</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:ClassifiedTaxCategory>\n\t\t</cac:Item>\n\t\t<cac:Price>\n\t\t\t<cbc:PriceAmount currencyID=\"SGD\">220.00</cbc:PriceAmount> <!-- BT-146 -->\n\t\t\t<cbc:BaseQuantity unitCode=\"H87\">1</cbc:BaseQuantity> <!-- BT-149, BT-150 -->\n\t\t</cac:Price>\n\t</cac:InvoiceLine>\t\t\n</Invoice>\n</StandardBusinessDocument>"".data(using: String.Encoding.utf8)!)

let request = NSMutableURLRequest(url: NSURL(string: "https://api.staple.io/v2/einvoice/singapore/queue/:queueId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```