Skip to content

Commit

Permalink
Added parsing for DIGI invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
esteve committed Apr 25, 2024
1 parent 925953f commit 1de93f8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/invoice2data/extract/templates/es/es.digimobile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
issuer: DIGI (Mobile & Internet)
fields:
amount: TOTAL\s+FACTURA\s+\(imp\.\s+incl\.\)\s+(\d+,\d{2})
amount_untaxed: IMPORTE\s+\(base\s+imponible\)\s+(\d+,\d{2})
date: Fecha\s+de\s+emisión\s+(\d{2}/\d{2}/\d{4})
invoice_number: FACTURA\s+Número:\s+([A-Z0-9]+)
static_vat: ESB84919760
vat_rate: IMPUESTOS\s+\((\d+\.\d{2})%\s+IVA\)
address: Domicilio\s+Social\s+en\s+(.+\(Madrid\))
static_partner_name: DIGI Spain Telecom, S.L.U.
keywords:
- B-84919760
-
- factura
options:
currency: EUR
date_formats:
- '%d/%m/%Y'
decimal_separator: ','

0 comments on commit 1de93f8

Please sign in to comment.