Revision of UBL4J from Thu, 2013-05-16 06:43
UBL4J provides a Java implementation for Universal Business Language (UBL) Order to Invoice process. Given an UBL order document, it produces an UBL invoice document and renders its output to TeX, PDF or HTML formats. UBl4J uses the order document country and language information to tailor locale-sensitive invoices. Form more information, consult http://openinvoice.org/ubl4j/.
Comand-line Examples
Transform an order to an invoice (in PDF format)
Given an order, it creates an invoice and renders its content to PDF output. '-o' option is used to specify the invoice output path. '-f' option is used to specify the output format. HTML, PDF, and TeX formats are supported.
$ java -jar ubl4j-<version>.jar -c MyOrder.xml -f PDF -o MyInvoice.pdfTransform an order to an invoice (in TeX format)
Given an order, it creates an invoice and renders its output to TeX format. '-t' option is used to specify the TeX template.
$ java -jar ubl4j-<version>.jar -c MyOrder.xml -f TEX -t MyTexTemplate.tex