Actions20
Overview
The node "Consultorio Live" integrates with the Consultorio Live API, which is designed for managing clinics and medical offices. Specifically, the "Fatura" (Invoice) resource with the "Get Many" operation allows users to retrieve multiple invoices based on various search parameters. This is useful for scenarios such as generating reports of invoices within a date range, filtering invoices by patient ID or status, or auditing billing information.
Practical examples include:
- Fetching all invoices for a specific patient to review their billing history.
- Retrieving invoices issued within a certain period to reconcile accounts.
- Filtering invoices by status (e.g., paid, pending) to manage outstanding payments.
Properties
| Name | Meaning |
|---|---|
| Parâmetros De Busca | A collection of search parameters to filter invoices: |
| - ID Do Paciente | Patient ID to filter invoices related to a specific patient. |
| - Status | Invoice status to filter by (e.g., paid, pending). |
| - Data Início | Start date for the invoice search (only the date part is used). |
| - Data Fim | End date for the invoice search (only the date part is used). |
Output
The node outputs JSON data representing the list of invoices matching the search criteria. Each item in the output corresponds to an invoice object returned by the Consultorio Live API. The structure typically includes invoice details such as IDs, patient information, status, dates, amounts, and other relevant billing data.
There is no indication that the node outputs binary data.
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 HTTP requests with JSON content type and expects JSON responses.
Troubleshooting
- Empty results: If no invoices are returned, verify that the search parameters (patient ID, status, date range) are correct and that invoices exist matching those filters.
- Authentication errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Date format issues: The node extracts only the date portion from the datetime inputs; ensure the input dates are valid and properly formatted.
- API connectivity: Check network access to the Consultorio Live API endpoint and confirm the base URL is correct.
Links and References
- Consultorio Live official API documentation (not provided here, but recommended to consult for detailed API specs).
- n8n documentation on creating and using custom nodes with API integrations.