How Can We Help?
< All Topics
Print

Statement Transaction

The Statement Transaction is used to get Statement information for display in the web catalog. The request and response JSON strings are defined below.

Request JSON Example (Version 1.0)

The following is an example of the JSON string that will be posted

{
   "statementrequest": {
      "version": "1.0",
      "integrationtype": "FLK",
      "username": "username",
      "password": "password",
      "transid": "0",
      "memberno": 520,
      "accountid": "123456,15545",
      "fromstatementdate": "08/05/2015",
      "tostatementdate": "08/12/2015",
      "locationid": ""
   }
}

Response JSON Example (Version 1.0)

The following is an example of the JSON string to be returned

{
   "statementresponse": {
      "version": "1.0",
      "transid": "0",
      "memberno": 520,
      "status": "success",
      "errordescription": "",
      "statements": [
         {
            "statementdate": "08/05/2015",
            "accountid": "12345",
            "locationid": "loc123",
            "locationdescription": "bob's tire and auto",
            "totalcost": "12.00",
            "linkurl": "http://myserver/mypdfs/statement123.pdf",
            "statementdetail": [
               {
                  "invoicedate": "08/06/2015",
                  "invoiceno": "123456",
                  "referenceno": "1231231",
                  "origamount": "23.56",
                  "paidamount": "23.56"
               },
               {
                  "invoicedate": "08/07/2015",
                  "invoiceno": "434333",
                  "referenceno": "443343",
                  "origamount": "47.22",
                  "paidamount": "12.56"
               }
            ]
         },
         {
            "statementdate": "08/05/2015",
            "accountid": "15545",
            "locationid": "loc129",
            "locationdescription": "jeff's tire and auto",
            "totalcost": "12.00",
            "linkurl": "http://myserver/mypdfs/statement234.pdf",
            "statementdetail": [
               {
                  "invoicedate": "08/06/2015",
                  "invoiceno": "123456",
                  "referenceno": "1231231",
                  "origamount": "23.56",
                  "paidamount": "23.56"
               },
               {
                  "invoicedate": "08/07/2015",
                  "invoiceno": "434333",
                  "referenceno": "443343",
                  "origamount": "47.22",
                  "paidamount": "12.56"
               }
            ]
         }
      ]
   }
}
Table of Contents