File size: 1,290 Bytes
4bf3c97
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/1004.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"TAX INVOICE\", \"customer_name\": \"Green Farm Treecare\", \"supplier_name\": \"Martinsell Publishing Company Limited\", \"supplier_vat_number\": \"119379391\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 96.0, \"tax_exclusive_total_amount\": 80.0, \"total_tax_amount\": 16.0, \"total_amount\": 96.0, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2024-06-03\", \"invoice_due_date\": \"2024-07-03\", \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"INV-3095\", \"expense_category\": \"Advertising\", \"description_of_goods_or_services\": \"Quarter Page Advertisement\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Advertising\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"20%\", \"tax_rate\": \"20\", \"tax_amount\": 16.0, \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": 80.0, \"total_amount_including_tax\": 96.0}]} }"}]}]}