Hello,
I am trying to create an UBL invoice from my invoices in VFP.
I do not want to create an XML directly from a cursor but be able to define my own XML file.
What is the best approach here?
Example of how the result should look like:
some values within the tags need to be filled in from invoice data.
thanks,
d2c
I am trying to create an UBL invoice from my invoices in VFP.
I do not want to create an XML directly from a cursor but be able to define my own XML file.
What is the best approach here?
Example of how the result should look like:
XML:
<Invoice>
<cbc:UBLVersionID>2.0</cbc:UBLVersionID>
<cbc:CustomizationID>urn:oasis:names:specification:ubl:xpath:Invoice-2.0:sbs-1.0-draft</cbc:CustomizationID><cbc:ProfileID>bpid:urn:oasis:names:draft:bpss:ubl-2-sbs-invoice-notification-draft</cbc:ProfileID>
<cbc:ID>A00095678</cbc:ID>
<cbc:CopyIndicator>false</cbc:CopyIndicator>
<cbc:UUID>E081-40B4-906C-94C5FF9D1AC3</cbc:UUID>
<cbc:IssueDate>2005-06-21</cbc:IssueDate>
<cbc:InvoiceTypeCode>SalesInvoice</cbc:InvoiceTypeCode>
<cbc:Note>sample</cbc:Note>
some values within the tags need to be filled in from invoice data.
thanks,
d2c