API for UBL4J 0.1

UBL4J provides a Java implementation for UBL Order to Invoice process, its API includes classes to process OrderType and InvoiceType.

See:
          Description

Packages
org.openinvoice.ubl4j  
org.openinvoice.ubl4j.common Includes classes and interfaces that are used by order and invoice packages
org.openinvoice.ubl4j.invoice Provides classes and interfaces for processing UBL InvoiceType.
org.openinvoice.ubl4j.invoice.constraint Contains classes that implement constraints such as FutureIssueDateNotAllowed that can be imposed on the UBL InvoiceType.
org.openinvoice.ubl4j.invoice.pu Contains classes that implement process units such as InvoiceCalculator that can be used to process the InvoiceType.
org.openinvoice.ubl4j.order Provides classes and interfaces for processing UBL OrderType and converting it to InvoiceType.
org.openinvoice.ubl4j.order.constraint Contains classes that implement constraints such as SingleCurrencyConstraint that can be imposed on the UBL OrderType.
org.openinvoice.ubl4j.order.pu Contains classes that implement process units such as OrderIssueTimeGenerator that can be used to post-process the OrderType.
org.openinvoice.ubl4j.text Provides classes and interfaces for rendering InvoiceType elements to various output format including TeX, PDF and HTML.
org.openinvoice.ubl4j.text.html Provides classes to render InvoiceType to HTML format.
org.openinvoice.ubl4j.text.pdf Provides classes to render InvoiceType to PDF format using iText.
org.openinvoice.ubl4j.text.tex Provides classes to render InvoiceType to TeX format.
org.openinvoice.ubl4j.util Contains miscellaneous utility classes

 

UBL4J provides a Java implementation for UBL Order to Invoice process, its API includes classes to process OrderType and InvoiceType.

To convert order.xml to invoice.pdf, execute the following command:

      $ ubl4j order.xml -o /tmp/invoice.pdf -f PDF
  

To validate order.xml for conformance, execute the following command:

      $ ubl4j order.xml -v ORDER
  



Copyright © 2011-2012 Plain Source. All Rights Reserved.