Paste these commands into your terminal to run a script
that will generate a new PDF.
curl -fSL "https://sync.api.docspring.com/api/v1/templates/tpl_TrmdePAbxjKpbs2s93/submissions" \
-u "api_test_z9F4keTFADRyXf6JcA:qEm6Xbf7xXFnGxxFT5R7MzhYkAfJbmjkAa637jhRtq" \
-d '{
"data": {
"date": "1983-06-05",
"payer": {
"title": "non quis in elit",
"name": "Michele Predovic III",
"email": "[email protected]"
},
"items": [
{
"description": "reprehenderit veniam sunt",
"amount": 31214.32735174834
},
{
"description": "dolor",
"amount": 208.900313621585
},
{
"description": "velit in s",
"amount": 6097.622024274174
},
{
"description": "Ut nostrud aliqua adipisicing",
"amount": 35003.24089793309
},
{
"description": "labore Duis irure sunt",
"amount": 1792.843422511437
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'