xpaths¶
Manipulate and parse XML files
- en16931.xpaths.en16931_namespaces()¶
Namespaces for the en16931 invoice format
- en16931.xpaths.en16931_xpaths()¶
Xpaths for the en16931 invoice format.
- en16931.xpaths.get_charge(root, namespaces=None, xpaths=None)¶
Gets the charge of an Invoice
- en16931.xpaths.get_discount(root, namespaces=None, xpaths=None)¶
Gets the discount of an Invoice
- en16931.xpaths.get_entity(root, kind='seller')¶
Gets an Entity of an Invoice
- en16931.xpaths.get_from_xpath(root, tag, xpaths=None, namespaces=None)¶
Gets the content of an XPATH in an XML file.
- en16931.xpaths.get_invoice_lines(root, namespaces=None)¶
Generator of InvoiceLines of an Invoice
- en16931.xpaths.get_namespaces()¶
Get a dictionari with all namespaces.
- en16931.xpaths.get_xpaths()¶
Get a dictionary with all xpaths