Taiwan eGUI Note
MOF eGUI allowance (折讓) credit certificates & invoice void (作廢) messages — MIG 4.0 XML + BYOK upload
Issue Taiwan eGUI allowance certificates (折讓證明單) and void (作廢) messages to the Ministry of Finance e-invoice platform under the MIG 4.0 guideline, the format mandatory from 1 January 2026. Builds on the Taiwan eGUI invoice connector — for Odoo 18 and 19.
Allowance MIG 4.0 XML
Produces the MOF MIG 4.0 G0401 allowance message
(Main / Details / Amount) for customer credit notes, checked
against the official MOF schema before it is stored, with
taxable, zero-rated and exempt tax types and TWD whole-dollar
amounts reused from the invoice connector.
Automatic D0401 / D0501
MIG 4.0 merged the former B2B D0401 and B2C
D0501 codes into the single G0401:
the certificate's issuer type is set for you — issued by
the seller by default, by the business buyer when it issued it,
never by a consumer.
Original-Invoice Linkage
Every allowance line references the original uniform-invoice number and date it reduces — taken from the reversed entry — so the certificate ties back to the cleared invoice exactly as the MOF requires.
Void & Cancellation
Generate void (作廢) messages for both the original invoice
(F0501 CancelInvoice, formerly C0501) and an issued
allowance certificate (G0501 CancelAllowance), each
with a reason and checked against the official MOF schema.
Real BAN Check-Digit
The 8-digit Unified Business Number (統一編號) is validated with the official MOF check-digit algorithm — weighted digit-sum, mod-10, and the documented 7th-digit special case — for the company and every business buyer.
Allowance Proof QR
Builds the allowance verification QR-code payload — allowance number, ROC date, message type, hex-encoded reduced sales and tax amounts and the originating invoice number — rendered to PNG. This is the module's own verification code: the MOF defines a QR layout only for invoice proofs.
Validation Rule Set
Layered on the engine EN 16931 core: certificate-number format, seller and buyer BAN checksum, per-line original-invoice reference, positive reduction and message-type, dispatched by the shared validation entry point before submission.
BYOK Upload
Uploads allowance and void messages to a MOF value-added-centre / Turnkey gateway with sandbox/production switching, retries and full transport logging. Official MOF hosts are pre-filled as editable defaults — you bring your own credentials. No keys are bundled.
Workflow
Onboarding wizard → company allowance track & gateway
→ post a customer credit note → Generate / Upload /
Void — all routed through the shared
einvoice.document engine. An optional auto-generate
toggle issues the allowance the moment the credit note is
posted.
Disclosure: this module transmits allowance and void data only to the MOF value-added centre / Turnkey gateway you configure, using your own credentials. No data is sent anywhere else.
Screenshots
Allowance Credit Note Refere
Generated Egui Allowance Cer
Update date: 2026-10-01
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 4544 |
| Technical Name |
l10n_tw_egui_allowance |
| License | OPL-1 |
| Website | https://pokutsoft.com/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module