Skip to main content

debitNotesCount

Requires permission purchase:debit_note:list.

Returns how many debit notes match the filters, without loading them. Needs the debit notes feature on your plan.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query DebitNotesCount {
debitNotesCount
}

Response:

{
"data": {
"debitNotesCount": 0
}
}
debitNotesCount(
filters: DebitNoteFiltersInput
): Int!

Arguments​

debitNotesCount.filters ● DebitNoteFiltersInput input​

Filter criteria for debit note records. Omit to match all.

Type​

Int scalar​

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.