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

AI-generated

Summary

Unarchive one or more archived invoices by specifying their invoice IDs to restore them from an archived state in the billing system.

Inputs

  • Invoice Ids (required) — Provide the invoice IDs as a JSON array representing the invoices to unarchive.
  • Options — Optional parameters include sending custom JSON body fields (which override other input fields), adding custom HTTP headers, applying query string filters, configuring batching for grouped requests, enabling debug output to see request details, setting pagination behavior, and defining a request timeout duration.

Output shape

a JSON object representing the API response for the unarchive request for each batch or input item with, optionally, debug information included if enabled.

The node supports sending requests in batches based on user settings and allows deep-merging of custom body JSON which overrides the main parameters. Debug mode adds detailed request data to the output. Pagination settings exist but are not typical for this particular unarchive operation.

Examples

Example 1: Unarchive invoices with IDs ['inv123','inv456'] in a single request without extra options.

Set 'Invoice Ids' to the JSON array ['inv123','inv456'] and leave other options as defaults.

Links

Discussion