Z
Automation
Invoice Parsing with Zapier — Extract Receipt Data and Send It Anywhere
Connect DocuParseAPI to 6,000+ apps without writing code. Every invoice extracted, every field routed, automatically.
Trusted by developers worldwide to automate document workflows.
✓ Free DocuParseAPI account✓ Zapier account✓ Trigger source
The guide
1
Get your API key
Sign up at docuparseapi.com/signup. Go to Dashboard → API Keys → Create new key.
2
Create a new Zap
Log into Zapier. Click Create Zap.
3
Choose a trigger
Gmail → New Attachment fires when an email with an attachment arrives. Google Drive → New File in Folder fires when a file is added to a folder. Test the trigger with a real invoice email to confirm the file data is available.
Need your API key first?
20 free documents/month — no credit card
4
Add Webhooks by Zapier → POST
Add an action step. Search for Webhooks by Zapier → POST. Configure as shown below:
URL: https://docuparseapi.com/api/v1/extract Payload Type: Form Data: Key: file Value: [Attachment from trigger — File field] Headers: Authorization: Bearer YOUR_API_KEY
5
Use the extracted data
Add your final action. Zapier exposes all response fields with double-underscore notation:
data__merchant → Vendor name data__total → Total amount data__tax → Tax amount data__date → Invoice date data__invoice_id → Invoice number data__currency → Currency code Common destinations: Google Sheets, QuickBooks, Notion, Slack
Full working example
text
Trigger: Gmail → New Attachment
Action 1: Webhooks by Zapier → POST
URL: https://docuparseapi.com/api/v1/extract
Payload Type: Form
Data Key: file
Data Value: [Attachment from trigger]
Headers:
Authorization: Bearer YOUR_API_KEY
Action 2: Google Sheets → Create Spreadsheet Row
Vendor: data__merchant
Invoice #: data__invoice_id
Date: data__date
Total: data__total
Currency: data__currency
Note: If Zapier passes the file as a URL rather than binary,
add a Webhooks GET action before the POST to download it first.What gets extracted
Common errors and fixes
Ready to start?
20 documents free every month. No credit card. Set up in 5 minutes.
Get Your Free API Key