Automation

Invoice Parsing in Make — No-Code Invoice & Receipt Automation

Connect your email inbox to your accounting software and have every invoice processed the moment it arrives.

By Othmane M., founder of DocuParse API · Last reviewed: 2026-10-20

The guide

  1. 1

    Get your API key

    Sign up at docuparseapi.com/signup. Go to Dashboard → API Keys → Create new key.

  2. 2

    Create a new scenario

    Log into Make (make.com). Click Create a new scenario.

  3. 3

    Add a trigger

    Add Gmail → Watch Emails to watch for emails with attachments in your AP inbox, or Google Drive → Watch Files in a Folder for a shared invoice folder.

    Need your API key first?
    20 free documents/month — no credit card
    Sign up — get a free API key
  4. 4

    Add HTTP → Make a Request

    After the trigger, add an HTTP module. Configure every field exactly as shown below:

    URL:     https://docuparseapi.com/api/v1/extract
    Method:  POST
    
    Headers:
      Authorization: Bearer YOUR_API_KEY
    
    Body type: Multipart/form-data
    Fields:
      Key:          file
      Value:        [map from trigger attachment Data field]
      Content-type: application/octet-stream
    
    Parse response: Yes (toggle ON)
  5. 5

    Add Tools → Sleep

    Set the delay to 10 seconds.

  6. 6

    Add HTTP → Make a request (GET)

    Fetch the finished result:

    URL:     https://docuparseapi.com/api/v1/documents/{{document_id from the first HTTP module}}
    Method:  GET
    Headers: Authorization: Bearer YOUR_API_KEY
    Parse response: Yes
  7. 7

    Add a Router and map to your destination

    After the GET module, add a Router. Route 1 filter: data.status = completed → add Google Sheets → Add a Row and map the fields from the GET module. Route 2 filter: data.status = failed → send a Slack or email alert. On Starter and Pro you can replace Sleep + GET with a Make Custom webhook trigger that receives the finished result.

    Google Sheets column mappings (GET module):
      Vendor    →  data.merchant
      Invoice # →  data.invoice_id
      Date      →  data.date
      Due Date  →  data.due_date
      Total     →  data.total
      Tax       →  data.tax
      Currency  →  data.currency

Full working example

text
HTTP Module 1 (submit):
  URL:     https://docuparseapi.com/api/v1/extract
  Method:  POST
  Headers: Authorization: Bearer YOUR_API_KEY
  Body:    Multipart/form-data
  Key:     file
  Value:   [attachment binary data]
  Parse:   Yes

Tools → Sleep:
  Delay:   10 seconds

HTTP Module 2 (get result):
  URL:     https://docuparseapi.com/api/v1/documents/{{document_id from module 1}}
  Method:  GET
  Headers: Authorization: Bearer YOUR_API_KEY
  Parse:   Yes

Router — Success route filter:
  data.status  =  completed

Router — Error route filter:
  data.status  =  failed

Google Sheets — Add a Row (from the GET module):
  Vendor    →  data.merchant
  Invoice # →  data.invoice_id
  Date      →  data.date
  Total     →  data.total
  Tax       →  data.tax
  Currency  →  data.currency

On Starter and Pro you can replace Sleep + GET with a Make Custom webhook trigger that receives the finished result.

What gets extracted

FieldDescription
merchantThe vendor or store name
totalThe final charged amount including tax
subtotalThe pre-tax amount
taxThe tax amount charged
dateInvoice or transaction date (ISO 8601)
due_datePayment due date, or null if not present
invoice_idInvoice number or receipt ID from the document
currencyISO 4217 currency code (USD, EUR, GBP, etc.)
payment_methodCard type, cash, or other payment method
line_itemsArray of items with description, quantity, price, line_total, vat_rate

Common errors and fixes

MISSING_API_KEYAuthorization header missingAdd header: Authorization: Bearer YOUR_KEY
INVALID_API_KEYKey not recognisedCheck key in dashboard — regenerate if needed
LIMIT_EXCEEDEDMonthly document limit reachedUpgrade at docuparseapi.com/pricing
UNSUPPORTED_FILE_TYPEFile format not supportedUse PDF, JPG, PNG or CSV
FILE_TOO_LARGE_AUTHENTICATEDThe file is too largeCompress the image or split the PDF
TOO_MANY_PAGESMore than 20 pagesSplit the PDF into parts of up to 20 pages
EXTRACTION_FAILEDDocument could not be parsedTry a cleaner scan or different file

Ready to start?

20 documents a month free, with full API access. No credit card. Webhooks on Starter and Pro.

Sign up — get a free API key