File size: 1,460 Bytes
ae6ab1a |
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/1005.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"invoice\", \"customer_name\": \"lauren\", \"supplier_name\": \"Toolstation Ltd\", \"supplier_vat_number\": \"408556737\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 20.16, \"tax_exclusive_total_amount\": 16.8, \"total_tax_amount\": 3.36, \"total_amount\": 20.16, \"paid_or_unknown\": \"unknown\", \"invoice_date\": \"2023-06-05\", \"invoice_due_date\": null, \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"XW3346126885\", \"expense_category\": \"Repairs and Maintenance\", \"description_of_goods_or_services\": \"Smart Touch Palm Gloves Large, Customer Collection, TechFast Sheet to Steel Heavy Duty Self Drilling Hex Roof Screw 5.5 x 40mm, Next Business Day Order Under 25\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Repairs and Maintenance\", \"payment_info_card_last4\": \"unknown\", \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"5\", \"tax_rate\": \"20.0\", \"tax_amount\": \"3.36\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"16.8\", \"total_amount_including_tax\": \"20.16\"}]}, \"is_marketplace_document\": false}"}]}]} |