org.openinvoice.ubl4j
Class Main
java.lang.Object
org.openinvoice.ubl4j.Main
public class Main
- extends Object
This class provides a command-line interface for using UBL4J. The following options are available:
- Converts the input Order to an UBL Invoice document.
- validates: the input Order or Invoice file, against
the corresponding UBL schema for conformance
To convert order.xml to invoice.pdf, execute the following command:
$ ubl4j order.xml -o /tmp/invoice.pdf -f PDF
* To convert order.xml to invoice.html, execute the following command:
$ ubl4j order.xml -o /tmp/invoice.html -f HTML
To validate order.xml for conformance, execute the following command:
$ ubl4j order.xml -v ORDER
- Since:
- \$Date: 2012/05/19 19:36:24 $
- Version:
- \$Revision: 4b0ab6d6e082 $
- Author:
- \$Author: javad $
Constructor Summary |
Main()
|
Method Summary |
static void |
main(String[] arguments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
main
public static void main(String[] arguments)
Copyright © 2011-2012 Plain Source. All Rights Reserved.