Represents an invoice raised for a customer, extending the generic payment list with an invoice status and a due date. Built up by an invoicing provider (for example ManualPaymentApp) and handed to InvoicingService.createInvoice to be persisted as an Invoice entity. The line items, addresses and totals are inherited from PaymentListBean.

Extends: PaymentListBean


Properties

PropertyReturnsDescription
dueDateDateThe date by which payment of this invoice is due.
invoiceStatusInvoiceListStatusThe current status of the invoice, such as draft, sent, overdue or paid.

Inherited from PaymentListBean

Properties

PropertyReturnsDescription
billingAddressPaymentAddressThe billing address for this payment list.
cartIdLongThe id of the shopping cart this payment list was generated from, if any.
deliveryAddressPaymentAddressThe delivery address for this payment list.
descriptionStringA longer free-text description of the payment list.
extraField1StringA general-purpose free-text field for additional, integration-specific information.
extraField2StringA second general-purpose free-text field for additional, integration-specific information.
extraField3StringA third general-purpose free-text field for additional, integration-specific information.
issuedDateDateThe date the payment list was issued.
lineItemAttachmentsList<PaymentListLineItemAttachment>Files attached to the payment list's line items, such as supporting documents.
lineItemsList<PaymentLineItemBean>The priced line items making up this payment list.
numberStringThe unique document number for this payment list, such as an invoice or quote number.
paymentTaxTypePaymentTaxTypeHow tax is represented on the amounts in this payment list: not taxed, tax-inclusive or tax-exclusive.
referenceStringA free-text customer or purchase order reference for this payment list.
subTotalBigDecimalCalculates the ex-tax total of this payment list, being the sum of the sub-total of each line item.
taxBigDecimalCalculates the total tax on this payment list, being the sum of the tax amount of each line item.
titleStringA short title for the payment list, shown to the customer.
totalBigDecimalCalculates the grand total of this payment list, being the sum of the total amount (including tax) of each line item.

Methods

getNumber() · getTitle() · getDescription() · getLineItems() · getReference() · getLineItemAttachments() · getIssuedDate() · getSubTotal() · getTax() · getTotal() · getBillingAddress() · getDeliveryAddress() · getExtraField1() · getExtraField2() · getExtraField3() · getCartId() · getPaymentTaxType()

getNumber()

Returns: String

The unique document number for this payment list, such as an invoice or quote number.

getTitle()

Returns: String

A short title for the payment list, shown to the customer.

getDescription()

Returns: String

A longer free-text description of the payment list.

getLineItems()

Returns: List<PaymentLineItemBean>

The priced line items making up this payment list.

getReference()

Returns: String

A free-text customer or purchase order reference for this payment list.

getLineItemAttachments()

Returns: List<PaymentListLineItemAttachment>

Files attached to the payment list's line items, such as supporting documents.

getIssuedDate()

Returns: Date

The date the payment list was issued.

getSubTotal()

Returns: BigDecimal

Calculates the ex-tax total of this payment list, being the sum of the sub-total of each line item.

getTax()

Returns: BigDecimal

Calculates the total tax on this payment list, being the sum of the tax amount of each line item.

getTotal()

Returns: BigDecimal

Calculates the grand total of this payment list, being the sum of the total amount (including tax) of each line item.

getBillingAddress()

Returns: PaymentAddress

The billing address for this payment list.

getDeliveryAddress()

Returns: PaymentAddress

The delivery address for this payment list.

getExtraField1()

Returns: String

A general-purpose free-text field for additional, integration-specific information.

getExtraField2()

Returns: String

A second general-purpose free-text field for additional, integration-specific information.

getExtraField3()

Returns: String

A third general-purpose free-text field for additional, integration-specific information.

getCartId()

Returns: Long

The id of the shopping cart this payment list was generated from, if any.

getPaymentTaxType()

Returns: PaymentTaxType

How tax is represented on the amounts in this payment list: not taxed, tax-inclusive or tax-exclusive.


Methods

getInvoiceStatus()

Returns: InvoiceListStatus

The current status of the invoice, such as draft, sent, overdue or paid.

getDueDate()

Returns: Date

The date by which payment of this invoice is due.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.