File size: 1,318 Bytes
2d9c8f1 |
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/1055.jpg"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"invoice\", \"customer_name\": \"DUNGEY CONSTRUCTION\", \"supplier_name\": \"simply waste solutions\", \"supplier_vat_number\": \"930677022\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 86.3, \"tax_exclusive_total_amount\": 71.92, \"total_tax_amount\": 14.38, \"total_amount\": 86.3, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2021-09-30\", \"invoice_due_date\": \"2021-10-30\", \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"P277478\", \"expense_category\": \"Waste Disposal\", \"description_of_goods_or_services\": \"Container Waste\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Waste Disposal\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"VAT\", \"tax_rate\": \"20.0\", \"tax_amount\": \"14.38\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"71.92\", \"total_amount_including_tax\": \"86.3\"}]}, \"is_marketplace_document\": false}"}]}]} |