Extractivio

Bank rules

The parser works without knowing the bank. For some banks it also has specific rules, such as which date order they use or how a currency sign is encoded in their PDFs.

Automatic detection

Each rule set is matched against the statement text (usually the bank's name). When one matches it is applied. You do not need to do anything.

Forcing a bank

Pass bank=<slug> (REST) or bank: "<slug>" (MCP) to apply a rule set even when the bank's name is not in the text, for example on a cropped or sanitised PDF.

Slugs with specific rules:

  • american-express
  • bank-of-america
  • capital-one
  • chase
  • citibank
  • dbs
  • hdfc
  • hsbc-mexico
  • hsbc-uk
  • ocbc
  • uob
  • zkb

An unknown slug is ignored: the request succeeds and the general rules apply.

What the rules do today

Bank Rule
Bank of America, Capital One, Chase Ambiguous numeric dates are read month-first.
HDFC A rupee sign that the PDF encodes as the letter C is restored; dates are read day-first.
Others in the list Detection only; the general rules already read their layouts.

Coverage, stated plainly

The rules were validated against layout samples of these banks with fictional data, not against live customer statements. Banks change layouts. Whatever the bank, rely on balance_check and warnings for each individual result.

A bank that is not in the list is not unsupported. Most statements are read by the general rules.

← Usage and stored resultsTroubleshooting →View as Markdown