Lectful Central icon

Lectful Central

Interact with the Lectful Central API for admin operations

Overview

The "Lectful Central" node integrates with the Lectful Central API, enabling administrative operations across various resources. Specifically, the Invoice Management - List Invoices operation retrieves a paginated list of invoices from the system, optionally filtered by status, date range, or search terms.

This node is beneficial for automating invoice retrieval workflows, such as generating reports, syncing invoice data to other systems, or monitoring invoice statuses programmatically.

Example use cases:

  • Fetch all paid invoices within a specific date range for accounting reconciliation.
  • Search invoices by keywords or status to trigger follow-up actions.
  • Automate periodic export of invoice data to external databases or CRMs.

Properties

Name Meaning
Authentication Mode Choose how to authenticate with the Lectful Central API:
- Use Stored Credentials
- Manual Configuration (provide Base URL and API key manually)
Base URL Override Optional base URL to override the credential setting (without /api/v1). Used only in Manual Configuration mode.
API Key Override Optional API key to override the credential setting. Used only in Manual Configuration mode.
Status Filter invoices by their status (e.g., draft, sent, paid, overdue, cancelled).
Date From Filter invoices from this date (format: YYYY-MM-DD).
Date To Filter invoices until this date (format: YYYY-MM-DD).
Search Search term to filter invoices by matching text fields.

Output

The node outputs an array of JSON objects representing the invoices retrieved from the Lectful Central API. Each item corresponds to one invoice or a paginated set of invoices depending on the API response.

The exact structure of each invoice object depends on the API but typically includes fields like invoice ID, number, amount, currency, due date, status, description, and related subscription information.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the Lectful Central API.
  • Authentication can be provided either via stored credentials configured in n8n or manual entry of Base URL and API key.
  • The node expects the API to be reachable at the specified Base URL with valid authentication tokens.

Troubleshooting

  • Missing or invalid credentials: If using stored credentials, ensure they are correctly configured with a valid Base URL and API key. For manual mode, both Base URL Override and API Key Override must be provided.
  • Invalid date formats: The Date From and Date To filters require YYYY-MM-DD format. Incorrect formats may cause API errors or no results.
  • API connectivity issues: Network problems or incorrect Base URL will prevent successful API calls.
  • Empty or unexpected responses: Verify that the filters used actually match existing invoices; otherwise, the API may return empty lists.
  • Error messages: Errors thrown during execution include missing required parameters or failed HTTP requests. Review the error message details and verify input parameters and API accessibility.

Links and References


This summary focuses on the Invoice Management > List Invoices operation of the Lectful Central node based on static analysis of the source code and provided property definitions.

Discussion