API / Reference / Invoice Approvals
Get invoice approvals
GET
https://api.light.inc/v1/invoice-approval
Returns approval records for specified invoice payables
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Query parameters
-
invoicePayableIdarray
Request body
application/json;charset=UTF-8
-
rolesarray of string -
namestring
Response
-
idstring · uuid -
companyIdstring · uuid -
invoicePayableIdstring · uuid -
invoiceDocumentKeystring -
invoiceNumberstring -
invoiceAmountinteger · int64 -
invoiceCurrencystring -
invoiceIssuedAtstring · date-time -
invoiceIssuedDatestring · date -
invoiceDueAtstring · date-time -
invoiceDueDatestring · date -
userApprovalsarray of object-
idstring · uuid -
approvalIdstring · uuid -
userIdstring · uuid -
userGroupIdstring · uuid -
priorityinteger · int32 -
statusstring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
APPROVEDDECLINEDFAILEDIN_REVIEWPENDING -
notestring -
completedAtstring · date-time -
updatedAtstring · date-time -
createdAtstring · date-time -
notifiedAtstring · date-time
-
-
notestring -
statusstring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
APPROVEDDECLINEDCANCELLEDFAILEDIN_PROGRESS -
completedAtstring · date-time -
updatedAtstring · date-time -
createdAtstring · date-time