CreditStatement
A statement represent metadata around a banking document that list all of the BOOKED banking transactions that have happened between startDate and endDate
type CreditStatement {
id: ID!
openingBalance: Amount!
closingBalance: Amount!
openingDate: DateTime!
closingDate: DateTime!
status: StatementStatus!
repaymentCycle: RepaymentCycle
totalCredits: Amount!
totalDebits: Amount!
type: StatementInfo!
createdAt: DateTime!
updatedAt: DateTime!
}
Fields
CreditStatement.id ● ID! non-null scalar
unique identifier of the statement
CreditStatement.openingBalance ● Amount! non-null object
booked balance at the start of the window
CreditStatement.closingBalance ● Amount! non-null object
booked balance at the end of the window
CreditStatement.openingDate ● DateTime! non-null scalar
starting date of the date window
CreditStatement.closingDate ● DateTime! non-null scalar
ending date of the date window
CreditStatement.status ● StatementStatus! non-null enum
status of the statement
CreditStatement.repaymentCycle ● RepaymentCycle object
repayment cycle related to the statement
CreditStatement.totalCredits ● Amount! non-null object
the sum of credit transactions during the window
CreditStatement.totalDebits ● Amount! non-null object
the sum of debit transactions during the window
CreditStatement.type ● StatementInfo! non-null interface
type of statement (ex: PDF)
CreditStatement.createdAt ● DateTime! non-null scalar
created date
CreditStatement.updatedAt ● DateTime! non-null scalar
updated date
Member Of
CreditStatementSuccessPayload object
Implemented By
CreditStatementPayload union ● GenerateCreditStatementPayload union