Skip to main content
GET
/
v1
/
invoice
/
{id}
/
approval-request
Get invoice approval request
curl --request GET \
  --url http://localhost:3001/v1/invoice/{id}/approval-request \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "status": "PENDING",
  "requestedAt": "2023-11-07T05:31:56Z",
  "requester": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>"
  },
  "approvalItems": [
    {
      "id": "<string>",
      "approver": {
        "id": "<string>",
        "name": "<string>",
        "email": "<string>"
      },
      "status": "PENDING",
      "comments": "<string>",
      "decidedAt": "2023-11-07T05:31:56Z",
      "step": {
        "stepNumber": 123
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.ibana.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Invoice ID

Response

200 - application/json
id
string
required
status
enum<string>
required
Available options:
PENDING,
APPROVED,
REJECTED,
SKIPPED
requestedAt
string<date-time>
required

When approval was requested.

requester
object
required

User who requested the approval. Null for system-initiated requests.

approvalItems
object[]
required