Skip to content

Commit

Permalink
Use B+8 digits format for Spanish VAT IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
esteve authored and bosd committed Apr 25, 2024
1 parent 1ec894a commit 6b939e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/invoice2data/extract/templates/es/com.pepephone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fields:
amount_untaxed: Total\s\(base\simponible\)\s+(\d+,\d{2})
date: Fecha\sde\semisión:\s+(\d{2}/\d{2}/\d{4})
invoice_number: Número\sde\sfactura:\s+(\d+)
static_vat: ESB85033470
static_vat: B85033470
vat_rate: Impuesto\s+\(IVA\s+(.+)%\)
address: CIF:\s+[A-Z0-9]+\s+(.+España)
static_partner_name: PEPEMOBILE S.L.
Expand Down
2 changes: 1 addition & 1 deletion src/invoice2data/extract/templates/es/es.digimobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fields:
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
static_vat: B84919760
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.
Expand Down

0 comments on commit 6b939e7

Please sign in to comment.