how to read XML File in cloud BC?

Hi All,

how to read xml file for cloud bc?

here is the sample file :

<?xml version="1.0" encoding="UTF-8"?>
<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="">www.w3.org/.../XMLSchema" xmlns:xsi="">www.w3.org/.../XMLSchema-instance">
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>
<cbc:CustomizationID>urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
<cbc:ID>PTD/INV/0000012</cbc:ID>
<cbc:IssueDate>2021-01-29</cbc:IssueDate>
<cbc:DueDate>2021-02-28</cbc:DueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:Note>Order SO-000008</cbc:Note>
<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode>
<cbc:AccountingCost>2140.00</cbc:AccountingCost>
<cac:InvoicePeriod>
<cbc:StartDate>2021-01-29</cbc:StartDate>
<cbc:EndDate>2021-01-29</cbc:EndDate>
</cac:InvoicePeriod>
</Invoice>

Related
Recommended