Actions39
- Catalog Operation Actions
- Common Operation Actions
- Contact Operation Actions
- HRMS Operation (India) Actions
- Purchase Operation Actions
- Sales Operation Actions
- Tax Operation (India) Actions
Purchase Operation → Create Voucher
AI-generatedOverview
This node creates a purchase voucher in the LEDGERS system. It supports creating different types of vouchers such as Expense Voucher, Payment Voucher, and Salary Voucher. The node is useful for automating financial transactions related to purchases, payments, and salary disbursements within an accounting or ERP system. For example, it can be used to record an expense payment, generate a payment voucher for suppliers, or create salary vouchers for employees.
Use Case Examples
- Creating an Expense Voucher for a single account with tax details.
- Creating a Payment Voucher with contact and payment method information.
- Creating a Salary Voucher with employee details and salary month/year.
Properties
| Name | Meaning |
|---|---|
| Voucher Type | Specifies the type of voucher to create (Payment, Expense, or Salary). |
| Branch ID | Identifier for the branch where the voucher is created. |
| Payment Date | Date of the payment associated with the voucher. |
| Currency | Currency code for the voucher amount. |
| Payment Method | Method used for payment. |
| Expense Type | Type of expense account allocation (Single or Multiple accounts). |
| Account Name or ID | Account identifier or name for expense or payment account. |
| Amount | Amount involved in the voucher transaction. |
| Tax Rate | Applicable tax rate for the expense. |
| Multiple Accounts | Collection of multiple expense accounts with amounts and tax details. |
| Additional Fields | Optional additional fields such as tax credit claim, contact ID, currency info, payment status, and reverse charge flag. |
| Contact ID | Identifier for the contact associated with the voucher. |
| Employee ID | Identifier for the employee (used in Salary Voucher). |
| Salary Month/Year | Month and year for salary payment in MM-YYYY format. |
| Salary Details | Additional salary-related details such as ESI, PF, TDS, and welfare contributions. |
Output
JSON
voucher_id- Unique identifier of the created voucher.voucher_type- Type of the created voucher.branch_id- Branch identifier where the voucher was created.payment_date- Date of the payment.currency- Currency code used in the voucher.payment_mode- Payment method used.amount- Amount involved in the voucher.contact_id- Contact identifier associated with the voucher.expense_head- Expense account details (for Expense Voucher).tax_rate- Tax rate applied (for Expense Voucher).multiple_accounts- Details of multiple accounts if used (for Expense Voucher).employee_id- Employee identifier (for Salary Voucher).salary_month- Salary month and year (for Salary Voucher).salary_details- Additional salary details (for Salary Voucher).
Dependencies
- An API key credential for LEDGERS API authentication
Troubleshooting
- Authentication failures due to incorrect API key, email, or password. Ensure credentials are correct and have necessary permissions.
- Invalid or missing required fields such as branch ID, voucher type, or account details may cause errors. Verify all required inputs are provided.
- Network or API endpoint issues may cause request failures. Check API URL and network connectivity.