Skip to main content

Querying company documents

The company documents node holds a company's signed FATCA/CRS self-declaration, annual report and register of owners. It is null on a bank report for an association. See the Company documents concept.

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

Fetch a company's signed documents​

query bankReportCompanyDocuments($id: UUID!) {
bankReportById(id: $id) {
id
organization {
discriminator
}
companyDocuments {
selfDeclaration {
signedFile {
fileName
fileExtension
base64
}
}
accounting {
signedFile {
fileName
fileExtension
base64
}
}
registerOfOwners {
signedFile {
fileName
fileExtension
base64
}
}
}
}
}

A document your bank did not require for the company comes back null.