POST
/
vLatest
/
query
/
glasscore
/
invoice

Body

application/json

Multiple query options are supported. You can build a complex query filling out the advancedFilter section. We also support "simple" queries which used by putting the key you want to filter by in the query section along with the value you want it to filter for. E.g., nameFirst=John will return all persons with a first name of John.

advancedFilter
object

Complex filter configuration allowing for multiple conditions with AND/OR operators.

isAdditionalData
boolean
default:
false

Set to true to merge requested fields with default response, or false/omit to return only requested fields plus ID.

page
number
default:
1

Page number for pagination.

pageSize
number
default:
500

Number of items per page. Defaults to 500.

return
string[]

Array of field names to return in the response.

sortBy
string

Field name to sort by.

sortDirection
enum<string>
default:
desc

Sort direction: ascending (asc) or descending (desc).

Available options:
asc,
desc
{key}
string

Additional key-value pairs for simple filtering. Any field from the entity can be used as a filter key. E.g., field=value will return all records where that field matches the specified value.

Response

200 - application/json
balance
number | null
required

Represents the outstanding amount due on an invoice.

c_org
string
required

Represents the organization associated with a particular invoice.

date
required

Represents the day, month, and year when the invoice was issued.

dateDue
required

Specifies the deadline by which the invoice payment should be made.

dropInvoice
string
required

Indicates whether a particular invoice has been cancelled or discarded.

id
string
required

Unique identifier.

label
string
required

Indicates the categorization or identification tag associated with each invoice.

lateFee
number | null
required

Represents the additional charge applied to an invoice when payment is not received by the due date.

month
number
required

Represents the specific month in which an invoice was issued.

OrgId
number | null
required

Represents the unique identifier for the organization associated with a particular invoice.

year
number | null
required

Represents the calendar year in which the invoice was issued.