Dòng Tiền KiotViet icon

Dòng Tiền KiotViet

Quản lý dòng tiền từ KiotViet

Xử Lý Thanh Toán

AI-generated

Overview

This node handles payment processing within the KiotViet system. It is useful for automating financial transactions such as recording payments against invoices. For example, it can be used to process a payment by specifying the amount, payment method, invoice ID, and optionally the account ID associated with the payment.

Use Case Examples

  1. Processing a payment of 100,000 VND via credit card for invoice ID 12345.
  2. Recording a cash payment of 50,000 VND for invoice ID 67890 with an associated account ID.

Properties

Name Meaning
Số Tiền The amount of money to be paid.
Phương Thức The payment method used for the transaction.
ID Hóa Đơn The invoice ID to which the payment is applied.
ID Tài Khoản Optional account ID associated with the payment.

Output

JSON

  • amount - The amount of the processed payment.
  • method - The payment method used.
  • invoiceId - The invoice ID related to the payment.
  • accountId - The account ID associated with the payment, if provided.

Dependencies

  • KiotViet API with authentication credentials

Troubleshooting

  • Common issues include invalid or missing required parameters such as amount, method, or invoiceId, which will cause the node to throw errors.
  • API authentication failures if the KiotViet API credentials are incorrect or expired.
  • Network or connectivity issues when calling the KiotViet API.
  • To resolve errors, ensure all required fields are correctly filled and the API credentials are valid.

Discussion