File size: 1,791 Bytes
84686ac
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/1041.pdf"}}]}, {"role": "model", "parts": [{"text": "{\"document_type\": \"INVOICE\", \"customer_name\": \"Dungey construction ltd\", \"supplier_name\": \"Tools4Trade\", \"supplier_vat_number\": \"GB 727442334\", \"customer_vat_number\": null, \"tax_inclusive_total_amount\": 191.82, \"tax_exclusive_total_amount\": 159.68, \"total_tax_amount\": 32.14, \"total_amount\": 191.82, \"paid_or_unknown\": \"UNKNOWN\", \"invoice_date\": \"2022-03-15\", \"invoice_due_date\": null, \"currency\": \"GBP\", \"invoice_or_receipt_number_or_transaction_id\": \"2018460052\", \"expense_category\": \"Tools & Equipment\", \"description_of_goods_or_services\": \"Makita DTD152Z 18V LXT Li-ion Cordless Impact Driver Body Only\\nMakita DHP482Z 18V LXT Li-ion Cordless 2-Speed Combi Drill Body Only\\nExcel 3 Piece SDS+ Chisel Set\\nExcel 150mm Magnetic Bit Holder Impact Rated Pack of 10\\nBlueSpot B/S20004 Tools SDS Bit Set of 3 1000mm\\nBosch 25 x 152mm Selfcut Spade Flat Wood Drill Bit Hex Shank 2008587580\\nAmttech Mortar Pointing & Grouling Gun Set H2175\\nAmttech 100m Builders Line with Spindle Handle and Lock G4010 - Yellow\\nMakita DML18Z 18V Li-ion 6 LED Flashlight Torch Body Only\", \"is_marketplace_document\": false, \"primary_expense_category\": \"Tools & Equipment\", \"payment_info_card_last4\": null, \"is_cis_applicable\": false, \"tax_information\": {\"tax_lines\": [{\"tax_code\": \"1\", \"tax_rate\": \"20.0\", \"tax_amount\": \"31.94\", \"amount_on_which_tax_amount_is_calculated_using_tax_rate\": \"159.68\"}]}, \"is_marketplace_document\": false}"}]}]}