Skip to main content

Querying the statute

The statute holds the organization's articles of association. See the Statute concept for the state values.

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

Fetch the signed statute​

query bankReportStatute($id: UUID!) {
bankReportById(id: $id) {
id
isStatutesRequired
statute {
state
signedFile {
fileName
fileExtension
base64
}
}
}
}

state is New when the statute was updated as part of this report and Unchanged when it carries over from the previous package.

Fetch the unsigned blob​

When you need the original (unsigned) file, project file instead of signedFile.

query bankReportStatuteOriginal($id: UUID!) {
bankReportById(id: $id) {
id
statute {
state
file { fileName base64 }
}
}
}