Read XML File for Cloud BC

julkifli33julkifli33 Member Posts: 1,092
Hi All,
can share how to read xml file for cloud bc?
Thanks.
<?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="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/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>
Sign In or Register to comment.