public final class Expense extends Object
| Constructor and Description |
|---|
Expense() |
| Modifier and Type | Method and Description |
|---|---|
Bill |
getBill()
Identification of the bill (receipt or invoice) document.
|
String |
getBillNumber()
Bill (receipt) number, or in case of incoming invoice its invoice number.
|
String |
getCurrency()
The currency alphabetic code based on the ISO 4217.
|
Date |
getDateOfIssue()
The bill issue date.
|
Date |
getDateOfTaxable()
The date of taxable supplies.
|
List<PricingItem> |
getItems()
Expense pricing item list.
|
BillPayment |
getPayment()
Expense payment details.
|
String |
getPin()
The secret hash associated solely with this bill that has to be used to download original PDF.
|
String |
getServingUrl()
The full URL of the bill picture as it appears in accounting system.
|
Creditor |
getSupplier()
A business that delivered a product or service.
|
String |
getThrough()
A purchase that has been made through: ECOSYSTEM represents a purchase between business accounts of the Ecosystem.
|
Double |
getTotalPrice()
The total price as a sum of all checked in pricing items and its amount including target rounding mode.
|
Double |
getTotalPriceExclVat()
The total price as a sum of all checked in pricing items and its amount including target rounding mode.
|
Double |
getTotalVatAmount()
The total amount of VAT as a sum of all checked in pricing items and its amount.
|
Double |
getTotalVatBase()
The total VAT base as a sum of all checked in pricing items and its amount.
|
Expense |
setBill(Bill bill) |
Expense |
setBillNumber(String billNumber) |
Expense |
setCurrency(String currency) |
Expense |
setDateOfIssue(Date dateOfIssue) |
Expense |
setDateOfTaxable(Date dateOfTaxable) |
Expense |
setItems(List<PricingItem> items) |
Expense |
setPayment(BillPayment payment) |
Expense |
setPin(String pin) |
Expense |
setServingUrl(String servingUrl) |
Expense |
setSupplier(Creditor supplier) |
Expense |
setThrough(String through) |
Expense |
setTotalPrice(Double totalPrice) |
Expense |
setTotalPriceExclVat(Double totalPriceExclVat) |
Expense |
setTotalVatAmount(Double totalVatAmount) |
Expense |
setTotalVatBase(Double totalVatBase) |
public Bill getBill()
public String getBillNumber()
public String getCurrency()
public Date getDateOfIssue()
public Date getDateOfTaxable()
public List<PricingItem> getItems()
public Expense setItems(List<PricingItem> items)
public BillPayment getPayment()
public Expense setPayment(BillPayment payment)
public String getPin()
public String getServingUrl()
public Creditor getSupplier()
public String getThrough()
public Double getTotalPrice()
public Double getTotalPriceExclVat()
public Double getTotalVatAmount()
public Double getTotalVatBase()
Copyright © 2023. All rights reserved.