{
"message": "document fetched successfully",
"data": {
"documentType": "Invoice",
"documentLabels": [
{
"key": "bank_account_number",
"value": "bank_account_number",
"group": "others",
"groupVal": "others"
},
{
"key": "bank_name",
"value": "bank_name",
"group": "others",
"groupVal": "others"
},
{
"key": "buyer_address",
"value": "buyer_address",
"group": "buyer",
"groupVal": "Buyer"
},
{
"key": "buyer_name",
"value": "buyer_name",
"group": "buyer",
"groupVal": "Buyer"
},
{
"key": "buyer_vat_number",
"value": "buyer_vat_number",
"group": "buyer",
"groupVal": "Buyer"
},
{
"key": "client_id",
"value": "client_id",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "currency",
"value": "currency",
"group": "others",
"groupVal": "others"
},
{
"key": "invoice_amount",
"value": "invoice_amount",
"group": "others",
"groupVal": "others"
},
{
"key": "invoice_date",
"value": "invoice_date",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "invoice_number",
"value": "invoice_number",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "net_d",
"value": "net_d",
"group": "transaction",
"groupVal": "transaction details"
},
{
"key": "payment_due_date",
"value": "payment_due_date",
"group": "others",
"groupVal": "others"
},
{
"key": "payto_name",
"value": "payto_name",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "po_number",
"value": "po_number",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "seller_address",
"value": "seller_address",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "seller_email",
"value": "seller_email",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "seller_fax_number",
"value": "seller_fax_number",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "seller_name",
"value": "seller_name",
"group": "seller",
"groupVal": "Seller details"
},
{
"key": "seller_phone",
"value": "seller_phone",
"group": "seller",
"groupVal": "Seller details"
}
]
}
}
]
}
],
"original_file_name": "type31_invoice.png",
"fileUrl": "https://uploaded-documents-v2.s3.ap-south-1.amazonaws.com/documents/Invoice-type31_invoice-2024-07-22_09:39:17.249067.png",
"Edited": false,
"Extracted": true,
"workflowId": "66793f4ea45c0347a572d0b1"
}
}
}
{
"detail": "Could not validate credentials"
}
{
"message": "document not found!"
}
{
"detail": "error fetching document"
}