Actions39
- Account Actions
- Client Actions
- Document Actions
- Product Actions
- Receipt Actions
- Store Actions
- Supplier Actions
Receipt → Create Receipt
AI-generatedOverview
The "Create Receipt" operation in this Vendus node allows users to create a new receipt record in the Vendus invoicing and business management system via its API. This is useful for automating financial workflows such as recording payments, tracking sales transactions, or integrating point-of-sale data into Vendus.
Typical use cases include:
- Automatically generating receipts after a sale in an e-commerce platform.
- Logging client payments received through various payment methods.
- Creating receipts with custom descriptions and dates for bookkeeping purposes.
By using this node, users can streamline receipt creation without manual entry, ensuring accurate and timely financial records.
Properties
| Name | Meaning |
|---|---|
| Receipt Information | A collection of fields describing the receipt details: |
| - Amount | The monetary amount of the receipt (string). |
| - Client Name or ID | Select a client from a list or specify a client ID via expression. |
| - Date | The date of the receipt in YYYY-MM-DD format; defaults to current date if not set. |
| - Description | A textual description of the receipt. |
| - Payment Method Name or ID | Select a payment method from a list or specify an ID via expression. |
| Custom JSON | Raw JSON input allowing advanced users to provide custom receipt data beyond standard fields. |
| Options | Additional options for the operation: |
| - Enable Debug Logging | Boolean flag to enable detailed debug logging for troubleshooting API calls. |
Output
The node outputs an array of items where each item contains a json field representing the response from the Vendus API after creating the receipt. This JSON typically includes the newly created receipt's details such as its unique identifier, status, and any other metadata returned by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Vendus API, authenticated via an API key credential configured in n8n.
- The base URL for the Vendus API must be set in the credentials.
- The node uses HTTP requests with authentication to communicate with the Vendus service.
- Optional debug logging depends on the node's internal logger.
Troubleshooting
- Missing Required Parameters: If required parameters like amount or client ID are not provided, the node will throw an error indicating the missing parameter.
- API Authentication Errors: Ensure that the API key credential is correctly configured and has sufficient permissions.
- Invalid Date Format: The date must be in
YYYY-MM-DDformat; otherwise, the API may reject the request. - Network Issues: Connectivity problems to the Vendus API endpoint will cause request failures.
- Debug Logging: Enabling debug logging helps trace request URLs, bodies, and responses, which aids in diagnosing issues.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.
Links and References
- Vendus API Documentation (as referenced in the node description)
- n8n Expressions Documentation – for using expressions in property values
- Vendus official website: https://pixel.ao