This happened for only one specific reciept that is attached with this Issue.
LLM Output / Error
Error code: 400 - {'error': {'message': 'tool call validation failed: parameters for tool save_extracted_receipt_data did not match schema: errors: [/total_amount: expected number, but got string, /vat_amount: expected number, but got string]', 'type': 'invalid_request_error', 'code': 'tool_use_failed', 'failed_generation'

This happened for only one specific reciept that is attached with this Issue.
LLM Output / Error
Error code: 400 - {'error': {'message': 'tool call validation failed: parameters for tool save_extracted_receipt_data did not match schema: errors: [
/total_amount: expected number, but got string,/vat_amount: expected number, but got string]', 'type': 'invalid_request_error', 'code': 'tool_use_failed', 'failed_generation'