Skip to content

rossumai/check-sum-webhook-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example NodeJS Rossum Webhook

Example Rossum webhook that implements a simple check. It parses annotation structure and extracts field values (amount_total_tax and tax_detail_tax). Then it checks that values match and returns a warning message if not.

An example annotation also used for testing:

test/data/sample-data.json

Start

Start writing your code by cloning this project and adjusting the

webhook.js

Use the supporting functions available in the utils directory.

Webhook setup

You can find more information about webhooks at our Developer Hub. To set the webhook up, use the attached Dockerfile and our guide. You can also configure a Rossum queue to use the webhook via UI or using our API. Or you can use elisctl tool as described in the guide.

To use the webhook for production, run via HTTPS using, for example, Nginx proxy with Let's encrypt TLS/SSL certificate.

About

Example Rossum connector extension with a simple check

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published