Initial version, with basic Natural Factors template
This commit is contained in:
commit
f7ae549d7e
3 changed files with 711 additions and 0 deletions
21
templates/natural-factors/naturalfactors.yml
Normal file
21
templates/natural-factors/naturalfactors.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
issuer: Natural Factors
|
||||
keywords:
|
||||
- Natural Factors Nutritional Products
|
||||
- www.naturalfactors.com
|
||||
- INVOICE
|
||||
fields:
|
||||
amount: Veuillez payer montant\s+(\d+\.\d+)
|
||||
tables:
|
||||
- start: NO. DE FACTURE
|
||||
end: www.naturalfactors.com
|
||||
body: \d{4}\s+(?P<invoice_number>\d+)
|
||||
- start: NO. DE COMMANDE\s+DATE DE FACTURE
|
||||
end: Page\s+1
|
||||
body: \d+\s+(?P<date>\d\d/\d\d/\d\d)
|
||||
lines:
|
||||
start: Code du produit commandée\s+Qté livrée\s+Description de l’item\s+Taxe\s+Prix unit courant\s+rebais\s+Prix net\s+Montant net
|
||||
end: Thank you for your order!
|
||||
line: (?P<sku>\w+)\s+(?P<order_quantity>\d+)\s+(?P<ship_quantity>\d+)\s+(?P<description>.+?)\s+C\s+(?P<regular_price>\d+\.\d+)\s+(?P<discount_percent>\d+)\s+(?P<net_price>\d+\.\d+)\s+(?P<net_amount>\d+\.\d+)
|
||||
options:
|
||||
currency: USD
|
Loading…
Add table
Add a link
Reference in a new issue