Delete bills or invoices in bulk along with their journal entries. Provide ids, or explicitly set include to false to delete every bill matching the query filters (and every bill outright when no filters are given); an empty body is rejected. Bills with payments, credits, or write-offs recorded against them cannot be deleted. While multi-campus is on, a bill that also belongs to campuses outside the caller's access needs the permission at every campus of its set: explicit ids that include one answer 403 and nothing is deleted; a select-all leaves it in place. A bill available to every campus, which includes one with no campus while multi-org is off, needs a caller with no campus limit and no restriction on that permission: explicit ids that include one answer 403 with every_campus_record_delete_desc (every_campus_organization_record_delete_desc while multi-org is on), and a select-all skips it. The response reports how many were deleted and how many a select-all skipped.
Required permission: Full Write Accounting
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
