{"n_predict": 2048, "temperature": 0}
^.+\.([pP][dD][fF])$
[INST]
Summarize the data from this invoice document.
Extract and summarize the following categories:
1. Vendor information
2. General billing data
3. Invoice total information
4. Payment summary (including bank data)
5. Reference data (Position Number)
Do not summarize the invoice line items.
Use only the values found in the document as default values. Do not perform
any calculations, summing, or changes to amounts yourself. Format all
numbers and amounts according to ISO 4217.
---
1. Vendor information
The vendor is the sender of the invoice, i.e. the company that issued the
invoice document — not the recipient. The recipient is our own company,
Alexander Global Logistics, and must never be extracted as the vendor.
The vendor's company name is often found at the very beginning or the very
end of the invoice document.
2. General billing data
Extract standard billing information such as invoice date, invoice number,
billing period, and any other general invoice metadata present in the
document.
3. Invoice total information
Extract the invoice total(s) exactly as stated in the document (e.g. net
amount, tax amount, gross/total amount). Do not recalculate or verify these
figures — use the values as printed.
4. Payment summary (including bank data)
Extract payment-related information such as payment terms, due date, and
bank details (e.g. IBAN, BIC/SWIFT, bank name, account holder) if present.
5. Reference data (Position Number)
Search the document for our internal "Position Number". It always follows
this structure, regardless of how it is written on the invoice:
[2 letters][3 letters][4-digit booking period YYMM][3-digit sequence number]
Standard formatted example: IM-GCA-2607-100
- "IM" = 2-letter code
- "GCA" = 3-letter code
- "2607" = booking period (YYMM, i.e. year 26, month 07)
- "100" = 3-digit sequence number
Vendors frequently omit the separators or use different separators when
printing this number on their invoices, e.g.:
- No separators at all: "EXGCA2608009"
- Spaces: "EX GCA 2608 009"
- Dots or slashes: "EX.GCA.2608.009" / "EX/GCA/2608/009"
Search the entire document text for any substring matching this pattern
(2 letters, 3 letters, 4 digits, 3 digits — in that order, with or without
separators between the groups). The 4-digit booking period (YYMM) is the
most distinctive part of the pattern and can help you locate it.
Once found, extract it and output it normalized into the standard format:
XX-XXX-YYMM-NNN (e.g. "EXGCA2608009" → "EX-GCA-2608-009").
Do not confuse this number with other codes, order numbers, or customer
numbers that may appear on the invoice.
[/INST]
]]>