Kobana icon

Kobana

Interact with Kobana API - Quick access to common operations

Actions215

Overview

This node enables interaction with the Kobana API specifically for managing DARF (Documento de Arrecadação de Receitas Federais) payments under the "Payment > DARFs" resource. The "Create" operation allows users to create a new DARF payment by sending a JSON request body with the necessary payment details.

Typical use cases include automating tax payment processes, integrating DARF payment creation into financial workflows, or batch processing multiple DARF payments programmatically.

For example, a user can configure this node to create a DARF payment by providing the required payment information in JSON format, which the node then sends to the Kobana API to register the payment.

Properties

Name Meaning
Request Body The JSON object representing the DARF payment details to be created. This is required.
Additional Fields Optional JSON object with extra fields to customize the request further if needed.

Output

The node outputs the JSON response returned by the Kobana API after creating the DARF payment. This typically includes details of the newly created DARF payment such as its ID, status, amount, due date, and other relevant metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Kobana API.
  • The node automatically selects the API base URL depending on the environment (production or sandbox).
  • No additional external dependencies are required beyond the Kobana API access.

Troubleshooting

  • Invalid JSON in Request Body: If the JSON provided in the "Request Body" property is malformed, the node will throw a parsing error. Ensure the JSON syntax is correct.
  • Authentication Errors: If the API key credential is missing or invalid, the node will fail to authenticate. Verify that the API key is correctly configured in n8n credentials.
  • API Errors: The Kobana API may return errors if required fields are missing or invalid in the request body. Review the API documentation for required fields and validate your input accordingly.
  • Network Issues: Connectivity problems to the Kobana API endpoints can cause failures. Check network access and firewall settings.

Links and References


Note: The above summary is based solely on static analysis of the provided source code and property definitions.

Discussion