Skip navigation links
A B D E G H I L M N P S T U V X 

A

addLine(InvoiceLine) - Method in class en16931.Invoice
Adds an invoice line to the invoice

B

B2bRouter - Class in en16931
Post an invoice to b2brouter.net via its REST API.
B2bRouter(String, String, Invoice) - Constructor for class en16931.B2bRouter
 
BankInfo - Class in en16931
Class to represent the bank information of an Entity.
BankInfo(String, String, String, String) - Constructor for class en16931.BankInfo
 

D

dateToString(Date) - Method in class en16931.Invoice
Returns a string representation of a date in ISO-8601 format.

E

en16931 - package en16931
 
Entity - Class in en16931
Class that represents an Entity.
Entity(String, String, String, String, String, String, String, String) - Constructor for class en16931.Entity
 
equals(Object) - Method in class en16931.Tax
Compares tax instances for equality.

G

getAccount() - Method in class en16931.BankInfo
Returns the bank account
getAddress() - Method in class en16931.PostalAddress
Returns the address of the Entity.
getBankInfo() - Method in class en16931.Entity
Returns the bank information of the Entity.
getBic() - Method in class en16931.BankInfo
Returns the bank code
getBuyerParty() - Method in class en16931.Invoice
Returns the entity playing the role of seller party in the transaction represented by the invoice.
getBuyerParty() - Method in class en16931.XmlParser
Returns an Entity that plays the role of Buyer party
getCategory() - Method in class en16931.Tax
Returns the category code of the tax
getChargeAmount() - Method in class en16931.Invoice
Returns the Charge amount of the invoice.
getChargeAmount() - Method in class en16931.XmlParser
Returns the charge amount of the invoice
getChargeBaseAmount() - Method in class en16931.Invoice
Returns the Charge base amount of the invoice.
getChargePercent() - Method in class en16931.Invoice
Returns the Charge percent of the invoice
getCity() - Method in class en16931.PostalAddress
Return the City of the Entity
getComment() - Method in class en16931.Tax
Returns the comment on the tax
getCountry() - Method in class en16931.PostalAddress
Returns the country code of the Entity in ISO-3166-1 alpha2 format.
getCurrency() - Method in class en16931.Invoice
Returns the currency of the invoice.
getCurrency() - Method in class en16931.InvoiceLine
Returns the currency of the price of the line
getCurrency() - Method in class en16931.XmlParser
Returns the currency code
getDiscountAmount() - Method in class en16931.Invoice
Returns the discount amount of the invoice.
getDiscountAmount() - Method in class en16931.XmlParser
Returns the discount amount of the invoice
getDiscountBaseAmount() - Method in class en16931.Invoice
Returns the discount base amount of the invoice.
getDiscountPercent() - Method in class en16931.Invoice
Returns the discount percentage of the invoice.
getDueDate() - Method in class en16931.Invoice
Return the due date of the invoice.
getDueDate() - Method in class en16931.XmlParser
Return the due date of the invoice
getEndpoint() - Method in class en16931.Entity
Returns the PEPPOL endpoint identifier of the Entity.
getEndpointScheme() - Method in class en16931.Entity
Returns the PEPPOL endpoint scheme of the Entity.
getIban() - Method in class en16931.BankInfo
The IBAN of the Entity
getInvoice() - Method in class en16931.XmlParser
Returns an Invoice instance representing the XML file in EN16931 format.
getInvoiceId() - Method in class en16931.Invoice
Returns the invoice identifier.
getInvoiceID() - Method in class en16931.XmlParser
Returns the invoice identification.
getIssueDate() - Method in class en16931.Invoice
Returns the issued date of the invoice.
getIssueDate() - Method in class en16931.XmlParser
Return the issue date for the invocie
getItemName() - Method in class en16931.InvoiceLine
Returns the item name of the line
getLineExtensionAmount() - Method in class en16931.Invoice
Returns the line extension amount of the invoice.
getLineExtensionAmount() - Method in class en16931.InvoiceLine
Returns the line extension amount.
getLineExtensionAmount() - Method in class en16931.XmlParser
Returns the line extension amount of the invoice.
getLines() - Method in class en16931.Invoice
Returns an ArrayList with the invoice lines
getLines() - Method in class en16931.XmlParser
Returns an ArrayList of all the InvoiceLines of the Invoice
getMail() - Method in class en16931.Entity
Returns the E-mail of the Entity
getMandateReferenceIdentifier() - Method in class en16931.BankInfo
Returns the mandate reference identifier Used in debit transactions
getName() - Method in class en16931.Entity
Returns the name of the Entity
getName() - Method in class en16931.Tax
Returns the name of the tax
getNamespaceURI(String) - Method in class en16931.NamespaceResolver
 
getOriginalXml() - Method in class en16931.Invoice
Returns the original XML if the Invoice was created from an XML file.
getPartyLegalEntityId() - Method in class en16931.Entity
Returns the legal identifier of the Entity
getPayableAmount() - Method in class en16931.Invoice
Returns the payable amount of the invoice.
getPayableAmount() - Method in class en16931.XmlParser
Returns the payable amount of the invoice
getPaymentMeansCode() - Method in class en16931.Invoice
Returns the payment means code for the transaction represented by the invoice.
getPercent() - Method in class en16931.Tax
Returns the percentage of the tax
getPostalAddress() - Method in class en16931.Entity
Returns the PostalAddress of the Entity
getPostalZone() - Method in class en16931.PostalAddress
Returns the postal zone of the Entity
getPrefix(String) - Method in class en16931.NamespaceResolver
 
getPrefixes(String) - Method in class en16931.NamespaceResolver
 
getPrice() - Method in class en16931.InvoiceLine
Returns the price of a single item of the line
getQuantity() - Method in class en16931.InvoiceLine
Returns the quantity of items of the line
getRegistrationName() - Method in class en16931.Entity
Returns the registration name of the Entity
getSellerParty() - Method in class en16931.Invoice
Returns the entity playing the role of seller party in the transaction represented by the invoice.
getSellerParty() - Method in class en16931.XmlParser
Returns the Entity that plays the role of Seller party.
getStringChargePercent() - Method in class en16931.Invoice
Returns a suitabñle string representation of the Charge percent of the invoice.
getStringDiscountPercent() - Method in class en16931.Invoice
Returns a suitable string representation of the discount percentage of the invoice.
getStringPercent() - Method in class en16931.Tax
Returns a suitable string representation of the percentage of the tax
getTax() - Method in class en16931.InvoiceLine
Returns the Tax instance associated with the line
getTaxExclusiveAmount() - Method in class en16931.Invoice
Returns the tax exclusive amount of the invoice.
getTaxExclusiveAmount() - Method in class en16931.XmlParser
Returns the tax exclusive amount of the invoice
getTaxId() - Method in class en16931.Entity
Returns the tax identification number of the Entity
getTaxInclusiveAmount() - Method in class en16931.Invoice
Returns the tax inclusive amount of the invoice.
getTaxInclusiveAmount() - Method in class en16931.XmlParser
Returns the tax inclusive amount of the invoice
getTaxScheme() - Method in class en16931.Entity
Returns the tax scheme of the ENtity
getUnitCode() - Method in class en16931.InvoiceLine
Returns the unit code of the quantity of the line
grossSubtotal(Tax) - Method in class en16931.Invoice
Returns the gross subtotal of the invoice.

H

hashCode() - Method in class en16931.Tax
Returns the hash code of a tax instance
hasTax(Tax) - Method in class en16931.InvoiceLine
Returns true if the line is associated to an equivalent Tax instance

I

Invoice - Class in en16931
Class to represent an Invoice in EN16931 format.
Invoice(String, String, boolean) - Constructor for class en16931.Invoice
 
InvoiceLine - Class in en16931
Class that represents an Invoice Line.
InvoiceLine(String, String, double, double, String) - Constructor for class en16931.InvoiceLine
 
InvoiceLine(String, String, double, double, String, Tax) - Constructor for class en16931.InvoiceLine
 
isChargeSet() - Method in class en16931.Invoice
Returns true if the invoice has a charge.
isDiscountSet() - Method in class en16931.Invoice
Returns true if the invoice has a discount sent.
isValidatValidex() - Method in class en16931.Validex
Validates the XML representation of the invoice using validex.net

L

linesWithTaxes(Tax) - Method in class en16931.Invoice
Returns an ArrayList with all InvoiceLines that have the tax passed as argument.

M

moneyToString(MonetaryAmount) - Method in class en16931.Invoice
Returns a suitable string representation of a monetary amount.

N

NamespaceResolver - Class in en16931
Adapted from: https://howtodoinjava.com/xml/xpath-namespace-resolution-example/
NamespaceResolver(Document) - Constructor for class en16931.NamespaceResolver
 

P

PostalAddress - Class in en16931
Class That represents a Postal Address of an Entity
PostalAddress(String, String, String, String) - Constructor for class en16931.PostalAddress
 
postToB2bRouter() - Method in class en16931.B2bRouter
Posts an invoice to b2brouter.net

S

save(String) - Method in class en16931.Invoice
Saves the XML representation of the Invoice to a file.
setAccount(String) - Method in class en16931.BankInfo
Sets the bank account.
setAddress(String) - Method in class en16931.PostalAddress
Sets the address of the Entity
setBankInfo(BankInfo) - Method in class en16931.Entity
Sets the bank information of the Entity.
setBic(String) - Method in class en16931.BankInfo
Sets the bank code Only some formal validation on the code is performed.
setBuyerParty(Entity) - Method in class en16931.Invoice
Sets the entity playing the role of seller party in the transaction represented by the invoice.
setCategory(String) - Method in class en16931.Tax
Sets the category code of the tax It must be one of: AE L M E S Z G O K
setChargeAmount(double) - Method in class en16931.Invoice
Sets the charge amount of the invoice.
setChargePercent(double) - Method in class en16931.Invoice
Sets the Cherge percentage
setCity(String) - Method in class en16931.PostalAddress
Sets the City of the Entity
setComment(String) - Method in class en16931.Tax
Sets a comment on the tax
setCountry(String) - Method in class en16931.PostalAddress
Sets the country code of the Entity in ISO-3166-1 alpha2 format.
setCurrency(String) - Method in class en16931.Invoice
Sets the currency of the invoice.
setCurrency(String) - Method in class en16931.InvoiceLine
Sets the currency of the price of the line Accepts three letter ISO-4217 currencu codes.
setDiscountAmount(double) - Method in class en16931.Invoice
Sets the discount amount of the invoice.
setDiscountPercent(double) - Method in class en16931.Invoice
Sets the dicount percentage of the invoice.
setDueDate(Date) - Method in class en16931.Invoice
Sets the due date of the invoice
setEndpoint(String) - Method in class en16931.Entity
Sets the PEPPOL endpoint identifier of the Entity.
setEndpointScheme(String) - Method in class en16931.Entity
Sets the PEPPOL endpoint scheme of the Entity.
setIban(String) - Method in class en16931.BankInfo
Sets the IBAN
setInvoiceId(String) - Method in class en16931.Invoice
Sets the invoice identifier.
setIssueDate(Date) - Method in class en16931.Invoice
Sets the issue date of the invoice.
setItemName(String) - Method in class en16931.InvoiceLine
Sets the item name of the line
setLineExtensionAmount(String) - Method in class en16931.Invoice
Sets the line extension amount of the invoice.
setMail(String) - Method in class en16931.Entity
Sets the E-mail of the Entity
setMandateReferenceIdentifier(String) - Method in class en16931.BankInfo
Sets the mandate reference identifier
setName(String) - Method in class en16931.Entity
Sets the name of the Entity.
setName(String) - Method in class en16931.Tax
Sets the name of the tax
setOriginalXml(String) - Method in class en16931.Invoice
Sets the original XML file.
setPartyLegalEntityId(String) - Method in class en16931.Entity
Sets the legal identifier of the Entity
setPayableAmount(String) - Method in class en16931.Invoice
Sets the payable amount of the invoice.
setPaymentMeansCode(String) - Method in class en16931.Invoice
Sets the payment means code for the transaction represented by the invoice.
setPercent(double) - Method in class en16931.Tax
Sets the percentage of the tax
setPostalAddress(PostalAddress) - Method in class en16931.Entity
Sets the PostalAddress of the Entity.
setPostalZone(String) - Method in class en16931.PostalAddress
Sets the postal zone of the Entity
setPrice(double) - Method in class en16931.InvoiceLine
Sets the price of a single item of the line
setQuantity(double) - Method in class en16931.InvoiceLine
Sets the quantity of items of the line
setRegistrationName(String) - Method in class en16931.Entity
Sets the registration name of the Entity
setSellerParty(Entity) - Method in class en16931.Invoice
Sets the the entity playing the role of seller party in the transaction represented by the invoice.
setTax(Tax) - Method in class en16931.InvoiceLine
Associates a Tax instance to the line
setTaxExclusiveAmount(String) - Method in class en16931.Invoice
Sets the tax exclusive amount of the invoice.
setTaxId(String) - Method in class en16931.Entity
Set the tax identification number of the Entity
setTaxInclusiveAmount(String) - Method in class en16931.Invoice
Sets the tax inclusive amount of the invoice.
setTaxScheme(String) - Method in class en16931.Entity
Sets the tax scheme of the Entity.
setUnitCode(String) - Method in class en16931.InvoiceLine
Sets the unit code of the quantity of items of the line
subtotal(Tax) - Method in class en16931.Invoice
Returns the subtotal of the invoice.

T

Tax - Class in en16931
Class representing a Tax associated to an InvoiceLine.
Tax(double, String, String, String) - Constructor for class en16931.Tax
 
taxableBase(Tax) - Method in class en16931.Invoice
Returns the taxable base of the invoice.
taxAmount(Tax) - Method in class en16931.Invoice
Returns the monetary amount of the invoice.
total() - Method in class en16931.Invoice
Returns the total for the invoice
toXml() - Method in class en16931.Invoice
Returns the XML representation in EN16931 format of the invoice.

U

uniqueTaxes() - Method in class en16931.Invoice
Returns a HashSet with all taxes in the invoice.

V

Validex - Class in en16931
Class to validate an Invoice in EN16931 format using the online service validex.net.
Validex(String, String, Invoice) - Constructor for class en16931.Validex
 

X

XmlParser - Class in en16931
Class to parse an XML file in EN16931 format in to an Invoice Instance.
XmlParser(String) - Constructor for class en16931.XmlParser
 
A B D E G H I L M N P S T U V X 
Skip navigation links