|
1 | 1 | <p align="center"> |
2 | 2 | <a href="https://www.npmjs.com/package/@cfdi/xml"> |
3 | | - <img src="https://raw.githubusercontent.com/MisaelMa/cards/main/packages/cfdi-xml.png" alt="@cfdi/xml" width="200" /> |
| 3 | + <img src="https://raw.githubusercontent.com/MisaelMa/cards/main/packages/cfdi-xml.png" alt="@cfdi/xml" width="400" /> |
4 | 4 | </a> |
5 | 5 | </p> |
6 | 6 |
|
@@ -164,19 +164,23 @@ cfdi.comprobante({ |
164 | 164 | Total: '1160.00', |
165 | 165 | }); |
166 | 166 |
|
167 | | -cfdi.emisor(new Emisor({ |
168 | | - Rfc: 'AAA010101AAA', |
169 | | - Nombre: 'Empresa SA de CV', |
170 | | - RegimenFiscal: '601', |
171 | | -})); |
172 | | - |
173 | | -cfdi.receptor(new Receptor({ |
174 | | - Rfc: 'BBB020202BBB', |
175 | | - Nombre: 'Cliente SA de CV', |
176 | | - UsoCFDI: 'G03', |
177 | | - DomicilioFiscalReceptor: '64000', |
178 | | - RegimenFiscalReceptor: '601', |
179 | | -})); |
| 167 | +cfdi.emisor( |
| 168 | + new Emisor({ |
| 169 | + Rfc: 'AAA010101AAA', |
| 170 | + Nombre: 'Empresa SA de CV', |
| 171 | + RegimenFiscal: '601', |
| 172 | + }) |
| 173 | +); |
| 174 | + |
| 175 | +cfdi.receptor( |
| 176 | + new Receptor({ |
| 177 | + Rfc: 'BBB020202BBB', |
| 178 | + Nombre: 'Cliente SA de CV', |
| 179 | + UsoCFDI: 'G03', |
| 180 | + DomicilioFiscalReceptor: '64000', |
| 181 | + RegimenFiscalReceptor: '601', |
| 182 | + }) |
| 183 | +); |
180 | 184 |
|
181 | 185 | const concepto = new Concepto({ |
182 | 186 | ClaveProdServ: '01010101', |
@@ -343,7 +347,7 @@ const cfdiSaxon = new CFDI({ |
343 | 347 | interface Config { |
344 | 348 | debug?: boolean; |
345 | 349 | compact?: boolean; |
346 | | - xslt?: { path: string }; // Ruta al archivo XSLT (requerido para sellar) |
| 350 | + xslt?: { path: string }; // Ruta al archivo XSLT (requerido para sellar) |
347 | 351 | saxon?: { binary: string }; // Si se omite, usa @cfdi/transform |
348 | 352 | schema?: { path: string }; |
349 | 353 | } |
@@ -371,7 +375,7 @@ interface Config { |
371 | 375 |
|
372 | 376 | <p align="center"> |
373 | 377 | <a href="https://github.com/MisaelMa"> |
374 | | - <img src="https://raw.githubusercontent.com/MisaelMa/cards/main/author.png" alt="Amir Misael Marin Coh" width="300" /> |
| 378 | + <img src="https://raw.githubusercontent.com/MisaelMa/cards/main/author.png" alt="Amir Misael Marin Coh" width="450" /> |
375 | 379 | </a> |
376 | 380 | </p> |
377 | 381 |
|
|
0 commit comments