Hóa Đơn KiotViet icon

Hóa Đơn KiotViet

Quản lý hóa đơn từ KiotViet

Xóa

AI-generated

Overview

This node deletes an invoice from the KiotViet system using the invoice ID. It is useful for scenarios where you need to remove an invoice record, such as correcting errors or managing invoice lifecycle.

Use Case Examples

  1. Deleting an invoice by providing its ID to remove it from the system.
  2. Automating invoice cleanup by deleting invoices that meet certain criteria.

Properties

Name Meaning
ID Hóa Đơn The unique identifier of the invoice to be deleted.

Output

JSON

  • success - Indicates whether the invoice was successfully deleted (true/false).
  • message - A message confirming the deletion status.

Dependencies

  • Requires KiotViet API credentials for authentication.

Troubleshooting

  • If the invoice ID is invalid or not found, the node will throw an error indicating the invoice cannot be deleted.
  • Ensure the KiotViet API credentials are correctly configured and have permission to delete invoices.
  • The node throws an error if the delete operation is not supported by the KiotViet API, which means the API or credentials might be outdated or insufficient.

Discussion