<< Click to Display Table of Contents >> Navigation: Factur-X and ZUGFeRD > Python plugin |
Factur-X and Order-X Python library
The main feature of this Python library is to generate Factur-X invoices and Order-X orders from a regular PDF document and a Factur-X or Order-X compliant XML file.
This lib provides additional features such as:
▪extract the XML file from a Factur-X or Order-X PDF file,
▪check a Factur-X or Order-X XML file against the official XML Schema Definition.
Some of the features provided by this lib also work for ZUGFeRD 1.0 (the ancestor of the Factur-X standard).
From https://github.com/akretion/factur-x
Contributors
Alexis de Lattre <alexis.delattre@akretion.com>
Implementation
vpxPrint is interfaced with this library:
<FACTUR-X,FILE=xml_datafile,PLUGIN=PYTHON [,CHECK]>
Parameters
•FILE:
XML File to embed in the PDF/A3 .pdf file
This file will be renamed factur-x.xml or ZUGFeRD-invoice.xml in the resulting .pdf file.
License
This library is published under the BSD licence (same licence as pypdf on which this lib depends).
Python: https://docs.python.org/3/license.html
Copyright (c) 2016-2023, Alexis de Lattre <alexis.delattre@akretion.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* The name of the authors may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.