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": "1978-01-06",
"payer": {
"title": "elit culpa",
"name": "Annabell Gerhold II",
"email": "[email protected]"
},
"items": [
{
"description": "culpa veniam do",
"amount": 26736.73642038814
},
{
"description": "et sed Lorem id dolor",
"amount": 27771.36095211908
},
{
"description": "esse",
"amount": 10667.14603865861
},
{
"description": "nostrud",
"amount": 5579.095253840082
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'