Delete bill

Delete a bill or invoice along with its journal entry and, for repeating templates, its schedule. A bill with payments, credits, or write-offs recorded against it 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 and answers 403. 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, and answers 403 with every_campus_record_delete_desc (every_campus_organization_record_delete_desc while multi-org is on). The response reports how many were deleted and skipped.

Required permission: Full Write Accounting

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the bill to delete

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json