{"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/1012.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"receipt\", \"customer_name\": \"Joshua A\", \"supplier_name\": \"Toolstation Ltd\", \"supplier_vat_number\": \"GB303332003\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 35.94, \"tax_exclusive_total_amount\": 35.94, \"total_tax_amount\": 0.0, \"total_amount\": 35.94, \"paid_or_unknown\": \"PAID\", \"invoice_date\": \"2024-12-03\", \"invoice_due_date\": null, \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"16872\", \"expense_category\": \"Repairs and Maintenance\", \"description_of_goods_or_services\": \"VISA DEBIT\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Repairs and Maintenance\", \"payment_info_card_last4\": \"2411\", \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"VAT\", \"tax_rate\": \"0.0\", \"tax_amount\": 0.0, \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": 35.94, \"total_amount_including_tax\": 35.94}]}}"}]}]}