Magidoc

getOpenPayablesCount
Query

Counts payable documents matching the same filters and company access as getOpenPayables. Access: Requires Finance access in the workspace. Errors: Throws when the caller cannot access Finance in the workspace.

Arguments

#

workspaceId

ID !
Non-null

profitLossAwaitingPosting

See getOpenPayables — the count narrows by the same awaiting-posting predicate.

search

statuses

Response

#

Returns Int !.

Example

#