File size: 1,435 Bytes
03750bd
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/1044.jpg"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"invoice\", \"customer_name\": \"DUNGEY CONSTRUCTION LIMITED\", \"supplier_name\": \"Viking International (UK) Ltd\", \"supplier_vat_number\": \"GB 236163367\", \"customer_vat_number\": \"GB 000000000\", \"tax_inclusive_total_amount\": 62.28, \"tax_exclusive_total_amount\": 51.90, \"total_tax_amount\": 10.38, \"total_amount\": 62.28, \"paid_or_unknown\": \"PAID\", \"invoice_date\": \"2021-10-09\", \"invoice_due_date\": \"2021-11-08\", \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"7274320\", \"expense_category\": \"Repairs and Maintenance\", \"description_of_goods_or_services\": \"The item is out of stock and will be despatched as soon as stock is available\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Repairs and Maintenance\", \"payment_info_card_last4\": \"4711\", \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"S20.00\", \"tax_rate\": \"20.0\", \"tax_amount\": \"10.38\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"51.90\", \"total_amount_including_tax\": \"62.28\"}]}, \"is_marketplace_document\": false}"}]}]}