In this tutorial, we will show you how to extract bank statements in PHP using our REST Web API.
Here’s the sample Bank Statement and the extracted JSON output.

How to extract bank statements to JSON using PDF.co Web API in PHP:
Step 1: Source Code
- First, copy the PHP and the HTML source code here. Next, save the files in a folder inside the /www or /htdocs directory depending on whether you are using XAMPP or WampServer.
Step 2: Start Apache Server
- Start the Apache server so we can run the program on our local machine.
Step 3: Run Program
Now, let’s run the program.
- First, type in
localhost/Folder name/HTML file
on your browser. - Next, add the API Key. You can get the API key in your PDF.co dashboard here.
- Then, input the source file.
- Now, add the template in YML format. You can create a new template in PDF.co Document Parser Template Editor here. To learn more about PDF.co Document Parser, please visit this page.
- Finally, click on the Proceed button to send a request.
Step 4: Parsing Result
- Once the program runs successfully. Click on the URL to view the output.
Step 5: Parser Demo
- Here’s the Bank Statement Parser in action.

In this tutorial, you learned how to extract bank statements using PHP. You learned how to set up the code samples to run the program. You also learned how to use the PDF.co Document Parser Template Editor and create a template in YML format.
Come back for more tutorials on extraction of banking statements.
Similar Pages:
- How to Extract Data from Truist Financial Corporation Statements using PDF.co Web API
- How to Extract Data from US Bancorp Bank Statements using PDF.co and Zapier
- How to Extract Data from Capital One Bank Statements using PDF.co and Zapier
- How to Extract Data from PNC Financial Services Statements using PDF.co Web API
- How to Extract Data from Bank of New York Statements using PDF.co Web API
- How to Extract Data from TD Bank Statement using PDF.co and Zapier
- How to Extract JPMorgan Chase Statement using PDF.co Document Parser
- How to Extract Wells Fargo Statement using PDF.co Document Parser
- How to Extract Bank of America Statement using PDF.co Document Parser
- How to Extract Statement of Assets using PDF.co Document Parser
- Bank Statement and How to Extract Data from Statements in PDF using PDF.co and Integrations
- Extract Bank Statement using PDF.co and Zapier
- Extract Bank Statement using PDF.co and Make
- Extract Bank Statement in PHP using PDF.co Web API