File size: 1,347 Bytes
509b159 |
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/1035.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"PARTS INVOICE\", \"customer_name\": \"GREEN FARM LTD\", \"supplier_name\": \"Chandlers (Farm Equipment) Ltd\", \"supplier_vat_number\": \"GB 116 2587 75\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 18.92, \"tax_exclusive_total_amount\": 15.77, \"total_tax_amount\": 3.15, \"total_amount\": 18.92, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2024-05-28\", \"invoice_due_date\": null, \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"725356\", \"expense_category\": \"Maintenance and Repairs\", \"description_of_goods_or_services\": \"HYD HV46 OIL 5L 1001\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Maintenance and Repairs\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"20.00\", \"tax_rate\": \"20.0\", \"tax_amount\": \"3.15\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"15.77\", \"total_amount_including_tax\": \"18.92\"}]}, \"is_marketplace_document\": false}"}]}]} |