Read one statement PDF
const url = 'https://parse.mooola.co.za/v1/parse?format=json&unverified=include';const options = { method: 'POST', headers: { 'X-Unverified': 'include', Authorization: 'Bearer <token>', 'Content-Type': 'application/pdf' }, body: 'binary'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url 'https://parse.mooola.co.za/v1/parse?format=json&unverified=include' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/pdf' \ --header 'X-Unverified: include' \ --data binaryAuthorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”CSV instead of JSON. Accept: text/csv does the same.
ISO 4217 currency to assume where the statement prints none.
Return a statement that cannot be verified, labelled unverified, instead of refusing it.
Header Parameters
Section titled “Header Parameters”The same as unverified=include.
The password of a protected PDF. Never stored.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Responses
Section titled “Responses”The statement: verified, needing review, or (when asked for) unverified.
object
Unverified only: why it could not be verified.
object
Plain English, safe to show to your users.
Needs_review: what did not check out.
object
Plain English, safe to show to your users.
object
A supported bank code, or “other”.
The statement date.
The first day the statement covers.
The last day the statement covers.
The opening balance printed. In minor units (cents).
The closing balance printed. In minor units (cents).
Total money in. In minor units (cents).
Total money out. In minor units (cents).
object
ISO 4217, or XXX when unknown.
object
The posting date.
The transaction date.
The value date.
Money into the account. In minor units (cents).
Money out of the account, as a positive amount. In minor units (cents).
A fee printed with the transaction. In minor units (cents).
The running balance after the transaction. In minor units (cents).
True when this transaction was checked against the statement’s own figures (balances or totals); false when it was inferred. In an unverified result, keep the true ones or send the false ones for review.
Example
{ "schemaVersion": 1, "status": "verified", "reason": { "code": "BALANCE_MISMATCH" }, "warnings": [ { "code": "BALANCE_MISMATCH" } ]}Columns: Account Number, Account Name, Account Type, Currency, Posting Date, Transaction Date, Value Date, Description, Reference, Money In, Money Out, Fee, Balance, Verified.
Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.
CSV responses: the status.
Refused: INVALID_REQUEST.
object
object
NOT_VERIFIED only: why the statement could not be verified.
object
Plain English, safe to show to your users.
Example
{ "error": { "code": "UNAUTHORIZED", "reason": { "code": "BALANCE_MISMATCH" } }}Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.
Refused: UNAUTHORIZED.
object
object
NOT_VERIFIED only: why the statement could not be verified.
object
Plain English, safe to show to your users.
Example
{ "error": { "code": "UNAUTHORIZED", "reason": { "code": "BALANCE_MISMATCH" } }}Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.
Refused: TOO_LARGE.
object
object
NOT_VERIFIED only: why the statement could not be verified.
object
Plain English, safe to show to your users.
Example
{ "error": { "code": "UNAUTHORIZED", "reason": { "code": "BALANCE_MISMATCH" } }}Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.
Refused: INVALID_FILE.
object
object
NOT_VERIFIED only: why the statement could not be verified.
object
Plain English, safe to show to your users.
Example
{ "error": { "code": "UNAUTHORIZED", "reason": { "code": "BALANCE_MISMATCH" } }}Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.
Refused: TOO_MANY_PAGES, PASSWORD_REQUIRED, INCORRECT_PASSWORD, UNREADABLE, UNSUPPORTED_DOCUMENT, NOT_VERIFIED.
object
object
NOT_VERIFIED only: why the statement could not be verified.
object
Plain English, safe to show to your users.
Example
{ "error": { "code": "UNAUTHORIZED", "reason": { "code": "BALANCE_MISMATCH" } }}Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.
Refused: RATE_LIMITED, QUOTA_EXCEEDED.
object
object
NOT_VERIFIED only: why the statement could not be verified.
object
Plain English, safe to show to your users.
Example
{ "error": { "code": "UNAUTHORIZED", "reason": { "code": "BALANCE_MISMATCH" } }}Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.
Refused: INTERNAL.
object
object
NOT_VERIFIED only: why the statement could not be verified.
object
Plain English, safe to show to your users.
Example
{ "error": { "code": "UNAUTHORIZED", "reason": { "code": "BALANCE_MISMATCH" } }}Headers
Section titled “Headers”Statements per account per month on the free tier (300).
Statements left this month, after this request.
When the allowance resets (UTC).
Quote it when you contact us about a request.

