Open remcoros opened 7 years ago
Would be awesome to have some documentation. Currently, I'm loading some UBL invoices which are sent to us on behalf of our clients. Is it true that I have to call the static UblDocument.Load method?
Thanks for this libary!
Yes, you can use UblDocument.Load. Or create your own XmlSerializer like this:
var s = new XmlSerializer(typeof(InvoiceType));
The types in UblSharp are meant to be used with the default XmlSerializer from .NET.
The UblDocument type and methods contain some helper functions for loading/saving and internally use a cached XmlSerializer per UBL document type.
Hello Friends
Someone who may have wanted Deserialize/Deserializate to XML UBL 2.0, to read the fields and load it into the dataset.
Please support her with a reading code example, in only two fields. I provide a recent XML with the XML version UBl 2.0
Thanks for your support and Library!
Hi, I need to read an XML UBL and load it into the dataset. Is in this library any function to do it? Thanks!
Hi @OlaecheaEstibaliz
This library is for XML <-> c# object serialization/deserialization using the XmlSerializer from .NET
There is nothing for DataSet.
Also, since XML is about hierarchical data (types and properties) and Datasets about relational data (tables and columns), there is not a simple 1:1 conversion between the two.
how can i generate or Create xml ubl invoice and sign it by this library from my invoice class object
Hi, Can anyone tell me the step and how to digitally signed the XML Document using UBL
'Getting started' (a few read/write/validate examples) can be in the README. More examples in the wiki or as code samples (samples project).