Issue e-invoice by integrating Viindoo with VN-Invoice service

With the integration of VN-Invoice, a customer invoice of your Vietnamese company becomes a legal e-invoice issued by VNIs, and the number, the files and the status come back to the invoice in Viindoo.

This guide is for accountants and administrators. You need a VN-Invoice account of your company with VNIs, and the template and the serial that your company registered with the tax authority.

Requirements

This tutorial requires the installation of the following applications/modules:

Note

The steps that call VNIs are marked needs a live account: they have no screenshot, and the pictures of this article show sample values, never real credentials.

Who can do this, and where?

Task

Role needed

Application

Set up the service, the serial and the journal

Accounting Administrator

Accounting

Issue and sign the e-invoice of an invoice

Accounting Invoicing

Accounting

How do I set up the VN-Invoice service?

  1. Go to Apps, remove the filter Apps and search for VN-Invoice, with the filter Installed. The module E-Invoice - VNIs VN-Invoice Integrator must be installed. Install it if it is not.

    The Apps list filtered on installed modules named VN-Invoice, with the module E-Invoice - VNIs VN-Invoice Integrator
  2. Go to Accounting ‣ Configuration ‣ E-Invoice ‣ E-Invoice Services and open VN-Invoice API v2. Fill in:

    • Mode: Sandbox to test, Production for real invoices;

    • Start Date: the date from which your company announced that it uses e-invoices;

    • API Version: the version of your VN-Invoice service. Viindoo supports API v2;

    • Sign When Issuing: ticked by default, VN-Invoice signs each e-invoice in the same send that issues it. Untick it to sign the e-invoices later with the button Sign VN-Invoice;

    • the Sandbox Username and the Sandbox Password in Sandbox mode, or the Username and the Password in Production mode, given by VNIs.

    The form of the service VN-Invoice API v2 with the sandbox account

    Click Save.

How do I declare the serial and the template?

Go to Accounting ‣ Configuration ‣ E-Invoice ‣ E-Invoice Templates and E-Invoice Serial and declare what your company registered with the tax authority. A serial belongs to the service VN-Invoice API v2 and to one template, and a template belongs to one of the e-invoice types that Viindoo already provides. The pictures show a sample serial and a sample template.

The list of the e-invoice serials with a serial of the service VN-Invoice The list of the e-invoice templates

How do I set the journal?

Go to Accounting ‣ Configuration ‣ Accounting ‣ Journals, open your customer invoice journal and, in the tab Advanced Settings, section Vietnam E-Invoice Settings, choose the E-Invoice Serial. The template, the type and the service follow the serial. The other fields of the section are explained in E-invoicing in Viindoo Accounting.

The section Vietnam E-Invoice Settings of a sales journal with the serial of VN-Invoice

How do I issue the e-invoice of a customer invoice?

  1. Create the customer invoice in the journal of the step above.

    A draft customer invoice in the journal of VN-Invoice
  2. Check the customer, the tax code and the address, then click Confirm.

  3. Click Send on the posted invoice. If your company has not set the layout of its documents yet, Viindoo asks you to configure it first: click Continue. In the dialog, tick Issue Vietnamese E-Invoice, then click Send (needs a live account). VNIs issues the e-invoice, and with Sign When Issuing ticked it signs it too.

  4. If the e-invoice is not signed yet, click Sign VN-Invoice on the invoice (needs a live account). The filter VN-Invoice Not Signed of the invoice list finds the e-invoices that still wait for it.

  5. Open the tab E-Invoice of the invoice: it shows the status of the e-invoice, its identifiers at VN-Invoice and, once issued, the files of the e-invoice to download.

A line taxed with a tax group marked VAT Exempt is sent to VN-Invoice as not subject to VAT, not as a 0% rate. See Taxes and tax rules configuration to mark a tax group.

How do I correct an issued e-invoice?

Important

From the date of the setting Cancellation Blocked From, an issued e-invoice can no longer be cancelled to correct an error. You correct it with an adjustment e-invoice, which is the credit note of the invoice, or with a replacement e-invoice, in line with Decree 254/2026/ND-CP. The setting is in the section Vietnam E-Invoicing of Accounting ‣ Configuration ‣ Settings; its shipped value is 1 July 2026 and an administrator can change it.

  • Create a credit note for an adjustment.

  • Use the button Create Replacement E-Invoice of the issued invoice for a replacement.

What should I see afterwards?

  • The invoice carries the number given by VNIs and the files of the e-invoice are in the tab E-Invoice.

  • The e-invoice is signed, or the button Sign VN-Invoice is still on the invoice.

Common problems

Problem

Cause

What to do

The e-invoice has its number but is not signed.

The signature failed when the e-invoice was issued: its sign state is Sign Error.

Click Sign VN-Invoice on the invoice.

The checkbox Issue Vietnamese E-Invoice is not in the dialog Send.

The invoice has no serial of the service VN-Invoice, or the company is not in Vietnam.

Choose the serial in the journal and create the invoice again.

A cancellation of an issued e-invoice is refused.

The date of Cancellation Blocked From has passed.

Issue an adjustment e-invoice, which is the credit note of the invoice, or a replacement e-invoice with the button Create Replacement E-Invoice.

Next steps