File size: 1,264 Bytes
53ecbf2 |
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/1010.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"receipt\", \"customer_name\": null, \"supplier_name\": \"Park Elbury Park\", \"supplier_vat_number\": \"726799969\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 9.86, \"tax_exclusive_total_amount\": 7.38, \"total_tax_amount\": 2.48, \"total_amount\": 9.86, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2023-05-16\", \"invoice_due_date\": null, \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"154\", \"expense_category\": \"Fuel\", \"description_of_goods_or_services\": \"Diesel 5.79L @£1.529/L\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Fuel\", \"payment_info_card_last4\": \"DELTA\", \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"20%\", \"tax_rate\": \"20.0\", \"tax_amount\": \"1.48\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"7.38\", \"total_amount_including_tax\": \"8.86\"}]}, \"document_currency\": \"GBP\"}"}]}]} |