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": "1979-03-04",
"payer": {
"title": "qui voluptate Lorem proident ut",
"name": "Alexandria Tillman II",
"email": "[email protected]"
},
"items": [
{
"description": "aliqua non",
"amount": 23787.03420588118
},
{
"description": "quis culpa irure",
"amount": 32982.43196920324
},
{
"description": "in reprehenderit",
"amount": 5127.666345123572
},
{
"description": "irure sunt exercitation laboris",
"amount": 17480.0689639454
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'