| Package | Description |
|---|---|
| org.mustangproject | |
| org.mustangproject.ZUGFeRD |
| Modifier and Type | Method and Description |
|---|---|
Invoice |
Invoice.addAllowance(IZUGFeRDAllowanceCharge izac)
adds a document level rebate
|
Invoice |
Invoice.addCharge(IZUGFeRDAllowanceCharge izac)
adds a document level addition to the price
|
Invoice |
Invoice.addItem(IZUGFeRDExportableItem item)
required
adds invoice "lines" :-)
|
Invoice |
Invoice.addNote(java.lang.String text)
adds a free text paragraph, which will become a includedNote element
|
Invoice |
Invoice.embedFileInXML(FileAttachment fa) |
Invoice |
Invoice.setBuyerOrderReferencedDocumentID(java.lang.String buyerOrderReferencedDocumentID)
usually the order number
|
Invoice |
Invoice.setBuyerOrderReferencedDocumentIssueDateTime(java.lang.String buyerOrderReferencedDocumentIssueDateTime)
when the order (or whatever reference in BuyerOrderReferencedDocumentID) was issued (@todo switch to date?)
|
Invoice |
Invoice.setContractReferencedDocument(java.lang.String s)
adds the ID of a contract referenced in the invoice
|
Invoice |
Invoice.setCorrection(java.lang.String number)
switch type to invoice correction and refer to document number.
|
Invoice |
Invoice.setCreditNote() |
Invoice |
Invoice.setCurrency(java.lang.String currency) |
Invoice |
Invoice.setDeliveryAddress(TradeParty deliveryAddress)
if the delivery address is not the recipient address, it can be specified here
|
Invoice |
Invoice.setDeliveryDate(java.util.Date deliveryDate) |
Invoice |
Invoice.setDespatchAdviceReferencedDocumentID(java.lang.String despatchAdviceReferencedDocumentID) |
Invoice |
Invoice.setDetailedDeliveryPeriod(java.util.Date start,
java.util.Date end)
sets a document level delivery period,
which is optional additional to the mandatory deliverydate
and which will become a BillingSpecifiedPeriod-Element
|
Invoice |
Invoice.setDocumentCode(java.lang.String documentCode) |
Invoice |
Invoice.setDocumentName(java.lang.String documentName) |
Invoice |
Invoice.setDueDate(java.util.Date dueDate) |
Invoice |
Invoice.setInvoiceReferencedDocumentID(java.lang.String invoiceReferencedDocumentID)
usually in case of a correction the original invoice number
|
Invoice |
Invoice.setInvoiceReferencedIssueDate(java.util.Date issueDate) |
Invoice |
Invoice.setIssueDate(java.util.Date issueDate) |
Invoice |
Invoice.setNumber(java.lang.String number) |
Invoice |
Invoice.setOwnContact(Contact ownContact)
Deprecated.
use setSender
|
Invoice |
Invoice.setOwnForeignOrganisationID(java.lang.String ownForeignOrganisationID)
Deprecated.
|
Invoice |
Invoice.setOwnOrganisationFullPlaintextInfo(java.lang.String ownOrganisationFullPlaintextInfo) |
Invoice |
Invoice.setOwnOrganisationName(java.lang.String ownOrganisationName)
Deprecated.
|
Invoice |
Invoice.setOwnTaxID(java.lang.String ownTaxID)
Deprecated.
|
Invoice |
Invoice.setOwnVATID(java.lang.String ownVATID)
Deprecated.
|
Invoice |
Invoice.setPaymentTermDescription(java.lang.String paymentTermDescription) |
Invoice |
Invoice.setPaymentTerms(IZUGFeRDPaymentTerms paymentTerms) |
Invoice |
Invoice.setRecipient(TradeParty recipient)
required.
|
Invoice |
Invoice.setReferenceNumber(java.lang.String referenceNumber) |
Invoice |
Invoice.setSellerOrderReferencedDocumentID(java.lang.String sellerOrderReferencedDocumentID) |
Invoice |
Invoice.setSender(TradeParty sender)
required.
|
Invoice |
Invoice.setShipToCountry(java.lang.String shipToCountry) |
Invoice |
Invoice.setShipToLocation(java.lang.String shipToLocation) |
Invoice |
Invoice.setShipToOrganisationID(java.lang.String shipToOrganisationID) |
Invoice |
Invoice.setShipToOrganisationName(java.lang.String shipToOrganisationName) |
Invoice |
Invoice.setShipToStreet(java.lang.String shipToStreet) |
Invoice |
Invoice.setShipToZIP(java.lang.String shipToZIP) |
Invoice |
Invoice.setSpecifiedProcuringProjectID(java.lang.String specifiedProcuringProjectID) |
Invoice |
Invoice.setSpecifiedProcuringProjectName(java.lang.String specifiedProcuringProjectName) |
Invoice |
Invoice.setTotalPrepaidAmount(java.math.BigDecimal prepaid)
allow to set a amount which has already been paid
|
Invoice |
Invoice.setVATDueDateTypeCode(java.lang.String vatDueDateTypeCode)
Decide when the VAT should be collected.
|
| Modifier and Type | Method and Description |
|---|---|
Invoice |
ZUGFeRDInvoiceImporter.extractInvoice()
This will parse a XML into a invoice object
|
Copyright © 2023. All rights reserved.