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 → Archive invoices

AI-generated

Summary

Archive one or more invoices in the NinjaOne Billing system by providing their invoice IDs.

Inputs

  • Invoice Ids (required) — A JSON array of invoice IDs to archive.
  • Options — Optional settings including custom request body content, custom HTTP headers, query-string filters, batching controls, debug mode, pagination settings, and timeout duration.

Output shape

The operation returns a JSON response from the NinjaOne API indicating the result of the archive request for the specified invoices.

Supports batching to process multiple invoices in groups with optional delays between batches. Debug option can include detailed request info in output. Pagination settings are available but typically not used for this archive operation.

Links

Discussion