Skip to main content

Querying accounting

The accounting node holds the customer's signed financial statements. See the Accounting concept.

All examples require a JWT — get one from the homepage first.

Fetch the signed accounting file

query bankReportAccounting($id: UUID!) {
bankReportById(id: $id) {
id
isAccountingRequired
accounting {
signedFile {
fileName
fileExtension
base64
}
}
}
}