Skip to main content
GET
List an entity's electronic accounting records

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

entityId
string<uuid>
required

Query Parameters

year
integer

Filter by year (exact match) Fiscal year

Example:

2022

month
enum<integer>

Filter by month (exact match)

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13
Example:

3

type
enum<string> | null

Filter by type (exact match)

Available options:
N,
C
Example:

"N"

reason
enum<string>

Filter by reason (exact match)

Available options:
AF,
DE,
CO,
FC,
EM
Example:

"EM"

fileType
enum<string>

Filter by file type (exact match)

Available options:
CT,
B,
PL,
XF,
XC
Example:

"B"

filename
string

Filter by filename (partial match)

Example:

"PEIC211118IS0202203BN.zip"

code
string

Filter by code (exact match)

Example:

"0002220300000000124236"

receivedAt[before]
string<date-time>

Filter by date received (less than or equal <=)

receivedAt[strictly_before]
string<date-time>

Filter by date received (less than <)

receivedAt[after]
string<date-time>

Filter by date received (greater than or equal >=)

receivedAt[strictly_after]
string<date-time>

Filter by date received (greater than >)

status
enum<string>

Filter by status (exact match)

Available options:
received,
accepted,
rejected
Example:

"accepted"

order[year]
enum<string>

Order by year

Available options:
asc,
desc
Example:

"asc"

order[month]
enum<string>

Order by month

Available options:
asc,
desc
Example:

"asc"

order[receivedAt]
enum<string>

Order by date received

Available options:
asc,
desc
Example:

"asc"

id[lt]
string

Collection cursor pointer to the next page

id[gt]
string

Collection cursor pointer to the previous page

itemsPerPage
integer
default:20

Number of items per page

Required range: 1 <= x <= 1000

Response

Electronic accounting record collection response

@context
string
default:/contexts/ElectronicAccountingRecord
@id
string
default:/entities/{entityId}/electronic-accounting-records
Example:

"/entities/91106968-1abd-4d64-85c1-4e73d96fb997/electronic-accounting-records"

@type
string
default:hydra:Collection
hydra:member
object[]
hydra:view
object

Pagination information