Skip to main content
PATCH
Update bill

Authorizations

Authorization
string
header
required

Organization API key created in Grain Settings → API. The key determines the organization and is limited to its assigned resource scopes. Write scopes imply the corresponding read scope.

Headers

X-Organization-Id
string

Required with OAuth access tokens. Optional with organization API keys; if supplied, it must match the key's organization.

Path Parameters

id
string
required

Resource ID

Body

application/json
billNumber
string
required
Example:

"INV-1042"

billDate
string<date>
required
Example:

"2026-06-15"

dueDate
string<date>
required
Example:

"2026-07-15"

amount
number
required
Example:

850

vendorId
string
fundId
string
notes
string
Example:

"HVAC maintenance contract"

Response

Updated bill

id
string
billNumber
string
billDate
string<date-time>
dueDate
string<date-time>
amount
number
postingMode
enum<string>
Available options:
STANDARD,
OPENING_PAYABLE
paidAmount
number
creditedAmount
number
remainingAmount
number
status
string
vendorId
string | null
fundId
string | null
Last modified on August 23, 2026