Obtain the invoices for a specific account
The Fiskil Data Provider will include a self-signed JWT as a Bearer token in the Authorization header.
You should verify this JWT using the JWKS URL you can find for your Data Provider instance in the Fiskil
Console. To verify the JWT you must:
exp claimsub and iss claims are your data provider subdomainaud claim is the URI of the resource being requested (excluding any query parameters)jti value is unique
For further detail on security and authentication refer to our Authentication documentationUnique ID of a customer. This ID must not change for the lifecycle of the customer
ID of a specific account to obtain data for.
Constrain the request to records with effective date at or before this date. If absent defaults to current date. Format is aligned to DateString common type
Constrain the request to records with effective date at or after this date. If absent defaults to newest-date minus 24 months. Format is aligned to DateString common type
Page of results to request (standard pagination)
Page size to request. Default is 25 (standard pagination)
List of invoices for the account matching the query
URL Query parameters to obtain different pages of the response. Fiskil will combine these with the rest of the request URL to build full link URLs in the final response.
{
"first": "page=1&page-size=25&oldest-date=2023-04-24",
"last": "page=4&page-size=25&oldest-date=2023-04-24",
"next": "page=3&page-size=25&oldest-date=2023-04-24",
"prev": "page=1&page-size=25&oldest-date=2023-04-24"
}{ "totalRecords": 150, "totalPages": 6 }