Monday, June 15, 2026
1 change · 17.0
Enhancements to existing features
This update allows Odoo to correctly handle the new 20-digit format for China's digital e-fapiao invoices. Previously, Odoo only supported the older 8-digit format. This change ensures that Chinese vendors can accurately store and use their e-fapiao numbers without errors, improving invoice processing.
Original PR description
* https://hainan.chinatax.gov.cn/ssxc_3_23_1/12155283.html China's STA fully digitized e-fapiao uses a unique 20-digit invoice number, while legacy paper fapiao kept an 8-digit number. Accept both formats so CN vendor bills and invoices can store electronic fapiao numbers without validation errors. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr