curl --request POST \
--url https://api.ai2fin.com/api/receipts/commit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"assetUrl": "<string>",
"mimeType": "<string>",
"size": 123,
"extracted": {
"merchant": "<string>",
"dateISO": "2023-12-25",
"currency": "<string>",
"total": 123,
"tax": 123,
"tip": 123,
"lineItems": [
{
"description": "<string>",
"quantity": 123,
"unitPrice": 123,
"amount": 123
}
]
},
"action": {
"type": "link",
"transactionId": "<string>",
"updateFields": {}
}
}'