Scoro icon

Scoro

Interact with the Scoro API

Overview

This node integrates with the Scoro API to manage various resources, including invoices. Specifically, the "Delete" operation for the "Invoice" resource allows users to remove an existing invoice by specifying its unique ID. This is useful in scenarios where invoices need to be canceled or removed due to errors, duplicates, or changes in billing.

Practical examples:

  • Automatically deleting an invoice when a related project is canceled.
  • Cleaning up test or draft invoices before finalizing reports.
  • Removing invoices that were created in error during data migration.

Properties

Name Meaning
Invoice ID The ID of the invoice to delete

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or relevant status information returned by the Scoro API. There is no indication that binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Scoro API.
  • Needs the base URL and company account ID from the credentials to form requests.
  • The node depends on the Scoro API being accessible and properly configured for the authenticated user.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Invoice ID will likely cause the API to return an error.
    • Network connectivity problems or incorrect base URL configuration can prevent successful API calls.
    • Missing or invalid API authentication credentials will cause authorization failures.
  • Error messages:

    • "Operation 'delete' for resource 'invoice' is not supported." β€” This indicates a misconfiguration or unsupported operation; ensure the correct resource and operation are selected.
    • API errors related to invoice deletion typically include messages about invoice not found or permission denied; verify the invoice ID and API permissions.

Links and References

Discussion