A chrome extension for generating PDF invoices from CFDI 4.0 XML
Based on this great boilerplate https://github.com/lxieyang/chrome-extension-boilerplate-react. Is recommended to review the Readme and Issues.
- This chrome extension allows the user to generate a PDF invoice from a CFDI 4.0 xml file (mexican tax invoice format)
- Add comments or notes to de PDF (not possible to get them from de xml)
- Personalize file names and logo
- Generate the respective QR code
- Generate invoice strings required
- Accept global invoice
- Break down taxes and discounts for each concept
- Generate total text string
- Add pagination if Pages > 1
- Minimalistic design
- and more...
- Check if your Node.js version is >= 18.
- Clone this repository.
- Create
options.ts
file fromoptions.example.ts
. - Update to desire logo
logo.png
. - Run
npm install
to install the dependencies. - Run
npm start
- Load your extension on Chrome following:
- Access
chrome://extensions/
- Check
Developer mode
- Click on
Load unpacked extension
- Select the
build
folder.
- Access