File size: 1,301 Bytes
8057c6c
1
{"systemInstruction": {"parts": [{"text": "You are an invoice extractor. Output ONLY valid JSON."}]}, "contents": [{"role": "user", "parts": [{"fileData": {"mimeType": "image/jpeg", "fileUri": "gs://tune-test-pur/test-train-3/1011.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"SALES INVOICE\", \"customer_name\": \"Green Farm Limited\", \"supplier_name\": \"SILVEYfleet\", \"supplier_vat_number\": \"927491203\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 147.1, \"tax_exclusive_total_amount\": 122.58, \"total_tax_amount\": 24.52, \"total_amount\": 147.1, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2024-10-07\", \"invoice_due_date\": \"2024-10-11\", \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"2753971\", \"expense_category\": \"Vehicle Fuel\", \"description_of_goods_or_services\": \"Esso Diesel\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Vehicle Fuel\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"1\", \"tax_rate\": \"20.0\", \"tax_amount\": \"24.52\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"122.58\", \"total_amount_including_tax\": \"147.1\"}]}, \"is_cis_applicable\": false}"}]}]}