Plutio icon

Plutio

Consume Plutio API

Overview

The Plutio Invoice Delete operation node allows you to delete an invoice from your Plutio account by specifying its unique identifier. This is useful in scenarios where you need to automate the removal of invoices that are no longer needed, have been created in error, or must be purged as part of a workflow cleanup process.

Practical examples:

  • Automatically deleting test invoices after running integration tests.
  • Removing obsolete or duplicate invoices as part of a data hygiene workflow.
  • Integrating with other systems to ensure that deleted invoices in one system are also removed from Plutio.

Properties

Name Type Meaning
Invoice ID String The unique identifier of the invoice to delete. Can be a number or string.

Output

The output will be a JSON object indicating the result of the deletion operation. If successful, it returns:

{
  "success": true
}

If an error occurs and "Continue On Fail" is enabled, the output will include an error message:

{
  "error": "Error message here"
}

Dependencies

  • External Service: Requires access to the Plutio API.
  • API Credentials: You must configure valid Plutio API credentials (plutioApi) in n8n.
  • n8n Configuration: No additional environment variables are required beyond standard credential setup.

Troubleshooting

Common Issues:

  • Invalid Invoice ID: If the provided Invoice ID does not exist, the API will return an error.
  • Missing Credentials: If the Plutio API credentials are not set up correctly, authentication will fail.
  • Insufficient Permissions: The API key used must have permission to delete invoices.

Common Error Messages:

  • "Invoice not found": Ensure the Invoice ID is correct and exists in your Plutio account.
  • "Authentication failed": Check your Plutio API credentials in n8n.
  • "Permission denied": Make sure your API user has rights to delete invoices.

Links and References

Discussion