{"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/1032.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"TAX INVOICE\", \"customer_name\": \"green farm tree care\", \"supplier_name\": \"Bowline\", \"supplier_vat_number\": \"435866365\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 273.6, \"tax_exclusive_total_amount\": 228.0, \"total_tax_amount\": 45.6, \"total_amount\": 273.6, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2024-08-24\", \"invoice_due_date\": \"2024-09-07\", \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"INV-0272\", \"expense_category\": \"Repairs and Maintenance\", \"description_of_goods_or_services\": \"LOLER climbing kit\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Repairs and Maintenance\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"20\", \"tax_rate\": \"20.0\", \"tax_amount\": \"45.6\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"228.0\", \"total_amount_including_tax\": \"273.6\"}]}, \"is_cis_applicable\": false}"}]}]}