File size: 1,356 Bytes
f2e651b |
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/1023.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"TAX INVOICE\", \"customer_name\": \"Green Farm Tree Care\", \"supplier_name\": \"Affordable Access Hire Ltd\", \"supplier_vat_number\": \"912224563\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 324.0, \"tax_exclusive_total_amount\": 270.0, \"total_tax_amount\": 54.0, \"total_amount\": 324.0, \"paid_or_unknown\": \"UNKNOWN\", \"invoice_date\": \"2024-08-13\", \"invoice_due_date\": \"2024-08-27\", \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"INV-8812\", \"expense_category\": \"Plant & Machinery\", \"description_of_goods_or_services\": \"Supply of 23m CMC for 1 day on 12th August\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Plant & Machinery\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"20%\", \"tax_rate\": \"20.0\", \"tax_amount\": \"54.0\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"270.0\", \"total_amount_including_tax\": \"324.0\"}]}, \"is_cis_applicable\": false}"}]}]} |