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": "2024-10-12",
"payer": {
"title": "labore",
"name": "Johnnie Halvorson",
"email": "[email protected]"
},
"items": [
{
"description": "veniam",
"amount": 21301.15003257514
},
{
"description": "utDuis am",
"amount": 21065.40910077148
},
{
"description": "laborum",
"amount": 32377.33781773482
},
{
"description": "culpa deserunt consectetur ven",
"amount": 48575.91882543856
},
{
"description": "Excepteur a",
"amount": 38516.66032071543
}
],
"invoice_number": 1
},
"test": true,
"metadata": {}
}'