NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Billing → Approves invoices

AI-generated

Summary

Approve one or more billing invoices by specifying their invoice IDs, sending a batch request to the NinjaOne API endpoint for invoice approval.

Inputs

  • Invoice Ids (required) — Provide a JSON array of invoice IDs to be approved.
  • Options — Optional additional settings including custom JSON body fields (which override standard fields), custom HTTP headers, query-string filters, batching parameters to control how many items per request and interval between batches, debug mode to include detailed request info in output, pagination controls for list endpoints, and request timeout in milliseconds.

Output shape

A JSON response object from the API containing the approval results per invoice or overall success status, along with optionally debug information if enabled.

Input invoice IDs are processed potentially in batches according to batch settings. Custom body values deeply merge and take precedence over the invoice IDs field. Debug mode adds an entry with full request details. Pagination settings are available but may not apply if the endpoint does not support pagination for this operation.

Links

Discussion