This project is read-only.
The UBL documentation may be found at Oasis http://docs.oasis-open.org/ubl/

Norwegian documentation may be found at ehandel.no http://www.anskaffelser.no/e-handel/dokumenter/ehandel.no-formatet

Another nice source is http://www.oioubl.info/Classes/en/Invoice.html

Download the Source Code and run the samples in order to se how to use the library. Reading an xml invoice goes something like this:

   using (FileStream fs = File.OpenRead(xmlFilename))
   {
        XmlSerializer xs = new XmlSerializer(typeof(UblLarsen.Ubl2.InvoiceType));
        invoice = (UblLarsen.Ubl2.InvoiceType)xs.Deserialize(fs);
   }
   Console.WriteLine("Invoice id: {0}", invoice.ID.Value);
   Console.WriteLine("Issue date: {0}", invoice.IssueDate.Value.ToShortDateString());

Last edited Jun 26, 2011 at 10:17 PM by gammern, version 5

Comments

No comments yet.