Uploads a PDF bank statement and schedules it for parsing.
What it does
Accepts a PDF file from the client.
Forwards it to the external PDF parser (/schedule_pdf).
Returns a jobId used to retrieve parsing results.
Automatically validates wallet balance (page-based pricing).
Customer is billed when the job completes successfully.
Request
curl --location --request POST 'https://api.insights-periculum.io/pdf-parser/schedule' \
--header 'Authorization: Bearer <token>' \
--form 'file=@"/path/to/statement.pdf"' \
--form 'password='
Response
{
"jobId": "53db3f4150dc4309b327088bb40ab591",
"status": "ok",
"totalPages": 5,
"amountToDebit": 0
}
