Templates / Document processing / invoice-capture

Invoice Capture

Reads supplier invoices with an extraction service and checks that net plus tax equals gross in a FEEL script. Invoices that add up and were read with high confidence post straight to the ERP; the rest are shown to an accounts-payable clerk in a Camunda form to correct before posting.

idpscript taskcamunda formstraight-through processingfinance
Open in editor Download .bpmn
casen template use invoice-capture
auto verify Extractinvoice data Validatetotals Verifyextracteddata Post to ERP Invoice received Straight-through? Invoice posted

Scenarios · 2

  • A clean invoice posts without a clerk validate-totals → straight-through → post-invoice → invoice-posted
  • Totals that do not add up go to a clerk validate-totals → verify-invoice → post-invoice

Job types · 2

  • document-extract Extract invoice data
  • erp-invoice-post Post to ERP

Files · 3

Every scenario passes on @bpmnkit/engine's runScenario in the package's tests. casen template use invoice-capture [dir] writes the files above into your project — see the templates guide for running the scenarios and deploying.