_getDT

Returns Invoice details

Parameters

dateFrom

The date to retrieve invoice details from in format YYYY/MM/DD

dateTo

The date to retrieve invoice details to in format YYYY/MM/DD

start

where to start from e.g, by default, page 2 should be set to 10

length

number of results

order

order to display the results in, asc or desc.

draw

a DataTables value used to solve race conditions. what is sent to the server will be returned in the reply.

invoice_no

string. filter for invoice numbers. can be the exact invoice number being searched for, or a range such as "abc1234-abc4567" (hyphen-separated)

invoice_id

integer. filter for a specific invoice

customer

string. filter for a customer by string snippet

nominal

integer. filter for invoices with a specific nominal code

status

integer. filter for invoices of a specific status

order_no

string. filter for invoices matching an order_no string snippet

form_id

integer. filter for invoices using a specific form.

Example

On Success

Last updated