| {"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/1057.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"invoice\", \"customer_name\": \"Wrap Your Car LTD\", \"supplier_name\": \"MDP\", \"supplier_vat_number\": \"GB768000048\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 170.58, \"tax_exclusive_total_amount\": 141.15, \"total_tax_amount\": 29.43, \"total_amount\": 170.58, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2024-07-29\", \"invoice_due_date\": null, \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"358-9287\", \"expense_category\": \"Marketing and Advertising\", \"description_of_goods_or_services\": \"Ritrama O - Black (610mm 50m LOG), Ritrama M - Black (610mm 50m LOG), FOTL V Neck Lady Fit - White (XXL), FOTL V Neck Lady Fit - White (XL)\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Marketing and Advertising\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"20%\", \"tax_rate\": \"20.0\", \"tax_amount\": 28.23, \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": 141.15, \"total_amount_including_tax\": 169.38}]}, \"is_cis_applicable\": false}"}]}]} |