public class ZUGFeRDInvoiceImporter extends ZUGFeRDImporter
containsMeta| Constructor and Description |
|---|
ZUGFeRDInvoiceImporter() |
ZUGFeRDInvoiceImporter(java.io.InputStream stream) |
ZUGFeRDInvoiceImporter(java.lang.String filename) |
| Modifier and Type | Method and Description |
|---|---|
void |
doIgnoreCalculationErrors()
do not raise ParseExceptions even if the reproduced invoice total does not match the given value
|
void |
doRecalculateItemPricesFromLineTotals()
have the item prices be determined from the line total.
|
Invoice |
extractInto(Invoice zpp)
This will parse a XML into the given invoice object
|
Invoice |
extractInvoice()
This will parse a XML into a invoice object
|
void |
fromXML(java.lang.String XML) |
canParse, containsMeta, extractString, getAdditionalData, getAmount, getBankName, getBIC, getBuyerTradePartyAddress, getBuyerTradePartyGlobalID, getBuyerTradePartyID, getBuyerTradePartyName, getBuyertradePartySpecifiedTaxRegistrationID, getContractOrderReferencedDocumentIssuerAssignedID, getDeliveryTradePartyAddress, getDeliveryTradePartyName, getDetailedDeliveryPeriodFrom, getDetailedDeliveryPeriodTo, getDocument, getDocumentCode, getDueDate, getForeignReference, getHolder, getIBAN, getIncludedNote, getInvoiceCurrencyCode, getInvoiceID, getIssueDate, getIssuerAssignedID, getLineItemList, getLineItemNodes, getLineTotalAmount, getMeta, getNodeListByPath, getPaidAmount, getPaymentTerms, getRawXML, getReference, getRoundingAmount, getSellerOrderReferencedDocumentIssuerAssignedID, getSellerTradePartyAddress, getSellerTradePartyGlobalID, getStandard, getTaxBasisTotalAmount, getTaxPointDate, getTaxTotalAmount, getUTF8, getVersion, getXMP, getZUGFeRDProfil, setMeta, setRawXML, wExtractStringpublic ZUGFeRDInvoiceImporter()
public ZUGFeRDInvoiceImporter(java.lang.String filename)
public ZUGFeRDInvoiceImporter(java.io.InputStream stream)
public void fromXML(java.lang.String XML)
public Invoice extractInto(Invoice zpp) throws javax.xml.xpath.XPathExpressionException, java.text.ParseException
zpp - the invoice to be alteredjavax.xml.xpath.XPathExpressionException - if xpath could not be evaluatedjava.text.ParseException - if the grand total of the parsed invoice could not be replicated with the new invoicepublic Invoice extractInvoice() throws javax.xml.xpath.XPathExpressionException, java.text.ParseException
javax.xml.xpath.XPathExpressionException - if internal xpath expressions were wrongjava.text.ParseException - if the grand total of the parsed invoice could not be replicated with the new invoicepublic void doRecalculateItemPricesFromLineTotals()
public void doIgnoreCalculationErrors()
Copyright © 2024. All rights reserved.