{
  "service": "Creditcrest Statement: extraction",
  "version": "1.0.0",
  "stores": "nothing",
  "reads": [
    {
      "format": "pdf",
      "what": "a PDF statement"
    },
    {
      "format": "csv",
      "what": "a CSV export"
    },
    {
      "format": "xlsx",
      "what": "an Excel workbook (.xlsx)"
    },
    {
      "format": "xls",
      "what": "an Excel 97–2003 workbook (.xls)"
    },
    {
      "format": "ods",
      "what": "an OpenDocument spreadsheet (.ods)"
    },
    {
      "format": "html",
      "what": "a web page saved as a spreadsheet"
    },
    {
      "format": "xml2003",
      "what": "an Excel 2003 XML spreadsheet"
    },
    {
      "format": "ofx",
      "what": "an OFX, QFX or QBO file (Quicken, QuickBooks, MYOB, Xero)"
    },
    {
      "format": "qif",
      "what": "a QIF file (Quicken, MYOB)"
    },
    {
      "format": "mt940",
      "what": "a SWIFT MT940 or MT942 file"
    },
    {
      "format": "camt",
      "what": "an ISO 20022 camt.052, camt.053 or camt.054 file"
    }
  ],
  "endpoints": {
    "POST /v1/statement/extract": {
      "what": "A statement file’s transactions: date, description, signed amount and the balance printed beside it, with the statement’s period, its opening and closing balances, and whether its own arithmetic agrees with what was read. Nothing is categorised and nothing is kept.",
      "body": "the file itself (application/pdf, an Excel or OpenDocument workbook, OFX, QIF, MT940, camt.053 or CSV), a multipart form with the file as \"file\" (and \"password\" for a PDF that has one), or JSON {file: base64, filename?, password?}"
    }
  }
}