FousCổng thông tin hóa đơn điện tử
Pull your hoadondientu.gdt.gov.vn invoices into your systems
Read your hóa đơn điện tử mua vào (purchase invoices) and bán ra (sales invoices) from Cổng thông tin hóa đơn điện tử with an API call, and each invoice's XML data with another. Or have a workflow hand each week's new purchase invoices to accounting.
Works with your own Cổng thông tin hóa đơn điện tử account. Fous is an independent product.
What you can build on the e-invoice portal
Get purchase invoices
Build thisReads Tra cứu hóa đơn điện tử mua vào (purchase invoices) under Tra cứu > Tra cứu hóa đơn for a range of Ngày lập hóa đơn (issue date).
- Takes
- From date, to date, seller tax code (optional), status (optional)
- Returns
- Form symbol, invoice symbol, invoice number, issue date, seller tax code, seller name, total payment, status
Get sales invoices
Build thisReads Tra cứu hóa đơn điện tử bán ra (sales invoices) for a range of issue dates: the invoices your company issued, with each buyer and total.
- Takes
- From date, to date, buyer tax code (optional)
- Returns
- Form symbol, invoice symbol, invoice number, issue date, buyer tax code, buyer name, total payment, status
Read one invoice's XML data
Build thisFinds one invoice by seller tax code, symbol and number, uses Xuất XML and returns what the XML holds: the parties, the lines and the totals.
- Takes
- Seller tax code, invoice symbol, invoice number, issue date
- Returns
- Seller, buyer, invoice lines with quantity, unit price and VAT rate, total before tax, VAT amount, total payment
Automate the e-invoice portal with a workflow
A workflow runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.
Last week's purchase invoices, handed to accounting
Build this- Starts
- Every Monday at 7:00 (Asia/Ho_Chi_Minh)
- Step 1
- Get the purchase invoices issued in the last 7 days, from both result tabs.
- Step 2
- Keep the invoices that were not there on the last run.
- Step 3
- Post each one, with seller tax code, symbol, number, issue date and total payment, to your accounting system's webhook.
Purchase invoices whose status changed
Build this- Starts
- Every weekday at 8:00 (Asia/Ho_Chi_Minh)
- Step 1
- Get the purchase invoices issued in the last 31 days.
- Step 2
- Keep the invoices whose status changed since the last run.
- Step 3
- Email you the list with the old and new status of each.
Monthly sales invoice summary by buyer
Build this- Starts
- On the 1st of every month at 9:00 (Asia/Ho_Chi_Minh)
- Step 1
- Get the sales invoices issued in the previous month.
- Step 2
- Group them by buyer tax code with the count and the sum of total payment.
- Step 3
- Email you the summary and post the invoice list to your webhook.
You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.
Once built, one call from your code
Once you have built a method, it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get purchase invoices” would look like.
curl https://api.fous.com/v1/runs \
-H "Authorization: Bearer $FOUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"method": "hoadondientu.gdt.gov.vn/get_purchase_invoices",
"input": {
"from_date": "2026-11-01",
"to_date": "2026-11-11"
}
}'
{
"status": "completed",
"data": {
"invoices": [
{
"form_symbol": "1",
"invoice_symbol": "C26TAA",
"invoice_number": "128",
"issue_date": "2026-11-03",
"seller_tax_code": "0109999901",
"seller_name": "Công ty TNHH Northwind Việt Nam",
"total_payment": 16500000,
"currency": "VND",
"tab": "Hóa đơn điện tử",
"status": "Đã cấp mã hóa đơn"
}
],
"count": 1
}
}
An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.
The e-invoice portal’s own options
The portal is where a company registered for e-invoices under Thông tư 78 looks up the invoices it issued and received. The guides describe searching on screen, Xuất excel for a list and Xuất XML for each invoice. None of the guides we read describes an API for companies to download their own invoices.
| Option | What it covers | What it takes |
|---|---|---|
| Public invoice lookup | Checks one invoice without signing in: the result shows whether the invoice exists and its Trạng thái xử lý hóa đơn, such as Đã cấp mã hóa đơn. | The seller tax code, invoice type, invoice symbol, invoice number and total payment of each invoice, entered one invoice at a time. |
| The e-invoice portal by hand | Tra cứu hóa đơn bán ra and mua vào, with Xem, In, Xuất excel and Xuất XML. A purchase search covers up to 31 days. | An account the tax authority issues once it has sent a Chấp nhận (accepted) notice for your e-invoice registration. |
Read on November 12, 2026: MISA: getting purchase invoices from the tax authority's e-invoice site, ACC: looking up e-invoices on the portal, GIZ: instruction for checking invoices.
Signing in to the e-invoice portal
You sign in to the e-invoice portal with your company's tax code (mã số thuế) and the password of the account the tax authority issued to it. With Fous you sign in once through the portal's own sign-in with that account: the login is sealed with AES-256, never returned by the API, and an expired session is signed back in.
Worth knowing
- 31 days per search
- A search on Ngày lập hóa đơn covers at most 31 days, so a quarter or a year takes several searches. Build the method to take a date range and search it 31 days at a time.
- Two result tabs
- Results come in two tabs, Hóa đơn điện tử and Hóa đơn có mã khởi tạo từ máy tính tiền (invoices from cash registers). A complete purchase list reads both.
- Only accounts under Thông tư 78
- Accounts go to taxpayers whose e-invoice registration under Thông tư 78/2021/TT-BTC the tax authority has accepted with a Chấp nhận notice. Without one, the public lookup checks one invoice at a time.
- The XML is the original invoice
- Xuất excel gives you the list. The file from Xuất XML is the invoice's original data, so read line items and VAT from the XML, one invoice at a time.
More in Government: East and South-East Asia, Oceania
- 登記情報提供サービス
- SIPP Online
- Edabu
- PhilHealth EPRS
- Virtual Pag-IBIG for Employers
- KWSP i-Akaun (Majikan)
- 自然人电子税务局(扣缴端)
- eMPF Platform
- My.SSS Employer Portal
- SSO e-Service
- BIR eFPS
- RD e-Filing
- 全国统一规范电子税务局
- Coretax DJP
- myIR
- MyTax
Other industries: Income Tax e-Filing Portal, My ARC, Facturación Electrónica DIAN, CIPC eServices, EUDR Information System, Companies House WebFiling.
Frequently asked questions
Not one for companies, as far as the published guides show. You search Tra cứu hóa đơn on screen, export the list with Xuất excel and each invoice with Xuất XML. Anyone can also check a single invoice in the public lookup with its seller tax code, type, symbol, number and total payment.
Up to 31 days of them per search. Search Tra cứu hóa đơn điện tử mua vào by Ngày lập hóa đơn and export the list to Excel; the XML is exported invoice by invoice. A method you build can split a longer period into 31-day searches and return one list.
Look it up in the public invoice lookup by seller tax code, invoice type, symbol, number and total payment. If the result reads Trạng thái xử lý hóa đơn: Đã cấp mã hóa đơn, the invoice has a tax authority code. If no matching invoice exists, the portal says so, and you should check what you typed.
Organizations and individuals registered for e-invoices under Thông tư 78, after the tax authority has sent its Chấp nhận notice. It then issues the account, which you use with your tax code and password.
No. Fous is an independent product. You use it with your own e-invoice portal account, and a method reads and does only what that account can.
Put Cổng thông tin hóa đơn điện tử behind an API call
Describe one job in Studio and see the method it builds, with 100 credits a month and no credit card, or book a demo and bring the sites your team signs in to.

Read nextSIPP OnlineEdabuPhilHealth EPRSIncome Tax e-Filing PortalHow methods workHow workflows run
Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of Cổng thông tin hóa đơn điện tử (Cục Thuế (Vietnam's tax authority, formerly Tổng cục Thuế)). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.