| {"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/1047.jpg"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"invoice\", \"customer_name\": \"Wendy Dungay\", \"supplier_name\": \"Wayfair\", \"supplier_vat_number\": \"GB922944513\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 119.99, \"tax_exclusive_total_amount\": 99.99, \"total_tax_amount\": 20.0, \"total_amount\": 119.99, \"paid_or_unknown\": \"paid\", \"invoice_date\": \"2021-03-14\", \"invoice_due_date\": null, \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"2241802934\", \"expense_category\": \"Office Supplies\", \"description_of_goods_or_services\": \"Warmate Wall Mounted Electric Fire\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Office Supplies\", \"payment_info_card_last4\": \"9584\", \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"20\", \"tax_rate\": \"20.0\", \"tax_amount\": \"20.0\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"99.99\", \"total_amount_including_tax\": \"119.99\"}]}, \"is_marketplace_document\": false}"}]}]} |