Consultorio Live icon

Consultorio Live

Interagir com a API do Consultorio Live para gestão de clínicas e consultórios

Actions20

Overview

This node integrates with the Consultorio Live API, which is designed for managing clinics and medical offices. Specifically, the "Fatura" (Invoice) resource's "Atualizar" (Update) operation allows users to update existing invoice records in the system. This is useful in scenarios where invoice details need correction or modification after creation, such as updating billing information, correcting amounts, or changing invoice status.

Practical examples include:

  • Correcting an invoice amount after a billing error.
  • Updating invoice metadata like due dates or payment status.
  • Modifying invoice details based on patient or procedure changes.

Properties

Name Meaning
ID Da Fatura The unique identifier of the invoice to update. This is a required string input specifying which invoice record will be modified.

Output

The node outputs JSON data representing the updated invoice object returned by the Consultorio Live API. This typically includes all invoice fields reflecting the new state after the update operation. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the Consultorio Live API.
  • The base URL for the API is configured via credentials.
  • The node sends requests with Accept: application/json and Content-Type: application/json headers.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent invoice ID will likely result in an error from the API indicating the invoice was not found.
    • Missing or incorrect API credentials will cause authentication failures.
    • Network connectivity problems can prevent successful API calls.
  • Error messages and resolutions:

    • "Invoice not found": Verify the invoice ID is correct and exists in the system.
    • Authentication errors: Check that the API key credential is properly set up and has necessary permissions.
    • Timeouts or network errors: Ensure stable internet connection and that the API endpoint is reachable.

Links and References

  • Consultorio Live official API documentation (refer to their website or developer portal for detailed API specs).
  • n8n documentation on creating and using custom nodes with API integrations.

Discussion