API for UBL4J 0.3

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.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 Contains classes that handle the PDF output generation.
org.openinvoice.ubl4j.text.pdf.common Contains common classes such as PDFChunkWrapper used by other PDF elements.
org.openinvoice.ubl4j.text.pdf.table Contains PDF table related classes classes that handle the PDF output generation.
org.openinvoice.ubl4j.text.pdf.table.cell Contains PDF table cell related classes classes that handle the PDF output generation.
org.openinvoice.ubl4j.text.tex Provides classes to render InvoiceType to TeX format.
org.openinvoice.ubl4j.ui Contains user interface classes.
org.openinvoice.ubl4j.ui.console Contains classes related to the command-line console interface.
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 via command-line, execute the following command:

      $ java -jar  ubl4j-0.3.jar -c order.xml -o invoice.pdf -f PDF
  



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