{ "type": { "purchase_invoice": { "en": [ "Invoice", "Receipt" ], "de": [ "Rechnung", "Quittung" ] }, "purchase_credit_note": { "en": [ "Credit Note" ], "de": [ "Rechnungskorrektur", "Gutschrift" ] }, "purchase_delivery_note": { "en": [ "Delivery Note" ], "de": [ "Lieferschein" ] }, "purchase_order_confirmation": { "en": [ "Order Confirmation" ], "de": [ "Auftragsbestätigung" ] }, "purchase_reverse_invoice": { "en": [], "de": [ "Gutschrift" ] } }, "date_format": [ "Y-m-d", "Y.m.d", "Y/m/d", "d-m-Y", "d.m.Y", "d/m/Y", "m-d-Y", "m.d.Y", "m/d/Y", "M. d.Y", "M. d. Y", "M. d Y", "M. d,Y", "M. d, Y", "M d.Y", "M d. Y", "M d Y", "M d,Y", "M d, Y", "M, d.Y", "M, d. Y", "M, d Y", "M, d,Y", "M, d, Y" ], "bill_no": { "en": [ "/(inv.*?)(no|\\s|,|:|\\.|#)+(?.*?)( |$)/i", "/(#)(?.*?)( |$)/i" ], "de": [ "/(rechnungsn.*?|beleg.*?)(?.*?)( |$)/i" ] }, "bill_date": { "en": [ "/(inv.*?)(date.*?)(\\s|,|:|\\.)+(?.*?)( |$)/i", "/(date.*?)(\\s|,|:|\\.)+(?.*?)( |$)/i" ], "de": [ "/(rechnungsdat.*?|belegdat.*?)(\\s|,|:|\\.)+(?.*?)( |$)/i" ] }, "bill_due": { "en": [ "/(due date.*?)(\\s|,|:|\\.)+(?.*?)( |$)/i", "/(due.*?)(\\s|,|:|\\.)+(?.*?)( |$)/i" ], "de": [ "/(fällig.*?)(\\s|,|:|\\.)+(?.*?)( |$)/i" ] }, "total_net": { "en": [ "/(subtotal.*?|net.*?)(?([0-9]+,*\\.*)+)/i" ], "de": [ "/(netto.*?|zwischensumme.*?)(?([0-9]+,*\\.*)+)/i" ] }, "total_tax": { "en": [ "/(tax.*?)(?([0-9]+,*\\.*)+)/i" ], "de": [ "/(USt.*?|Mwst.*?|Umsatzsteuer.*?|Mehrwehrtsteuer.*?)(?([0-9]+,*\\.*)+)/i" ] }, "total_gross": { "en": [ "/(total.*?|gross.*?)(?([0-9]+,*\\.*)+)/i" ], "de": [ "/(betrag.*?|gesamt.*?|brutto|rechnungsbetrag.*?|summe.*?)(?([0-9]+,*\\.*)+)/i" ] }, "item_table": { "en": { "headline": { "order": ["no.", "#"], "description": ["description", "name", "service", "product"], "quantity": ["qty", "quantity"], "price": ["price", "net", "gross"], "unit": ["unit"], "total": ["amount", "total", "price", "net", "gross"], "tax": ["tax"] }, "row": { "order": "\\d+", "description": ".*?", "quantity": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)", "price": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)", "unit": ".*?", "total": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)", "tax": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)" } }, "de": { "headline": { "order": ["Pos", "#", "Position"], "description": ["Beschreibung", "Bez", "Bezeichnung", "Leistung", "Produkt"], "quantity": ["Menge", "Anzahl"], "price": ["Einzel", "Preis", "Netto", "Net", "Brutto"], "unit": ["Einheit", "Einh"], "total": ["Gesamt", "Preis", "Netto", "Net", "Brutto"], "tax": ["MwSt", "USt"] }, "row": { "order": "\\d+", "description": ".*?", "quantity": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)", "price": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)", "unit": ".*?", "total": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)", "tax": "[+-]?([0-9]{1,3}([,\\.][0-9]{3})*(,\\.[0-9]+)?|\\d*[,\\.]\\d+|\\d+)" } } } }