Billing
Approves invoices
Changed onApproves one or more invoices by changing their status from PENDING to APPROVED.
Important: Only invoices in PENDING status can be approved. All provided invoice IDs must correspond to existing PENDING invoices, otherwise the entire request will fail.
post/v2/billing/invoices/approve
Request
- Base URLhttps://app.ninjarmm.com (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in cookie sessionKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body */*
Example request
{
"invoiceIds": [
123,
124,
125
]
}Response
Invoices successfully approved
object required
Changes
- info
endpoint added
- info