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 → Creates an invoice

AI-generated

Summary

Create an invoice for a specified agreement by sending a request to the NinjaOne API with the given agreement ID and optional parameters.

Inputs

  • Agreement Id (required) — The numeric ID of the agreement for which to generate the invoice.
  • Options — Optional parameters including custom JSON request body fields (that override standard fields), custom HTTP headers, query-string filters, batching settings, debug mode, pagination settings, and timeout configuration.

Output shape

a JSON object representing the newly created invoice response from the NinjaOne API, including any debug information if enabled.

The output includes the API response to the invoice creation request. Debug output with request details is included if debug mode is enabled. Pagination settings and batching apply primarily to list operations and have limited effect here. Custom body parameters deep-merge and override standard input fields.

Links

Discussion