DESCRIPTION

Only for subscribers using Scheduled Invoicing. This endpoint generates an invoice from a master template. A binary header including the file to be uploaded is required.

URL STRUCTURE

https://[hostname]/matter/invoice/merge

METHOD

POST

HEADERS

**Authorization:**    string Base64       [email]:[key]

PARAMETERS

NameTypeDescription
master-templatebinaryMaster template file to use.
matterIdintMatter ID template is associated with.
contactIdintContact ID the letter is addressed to.
siteIdintAddress ID letter is addressed to.
taskIdintTask ID template is associated with.
template-headerstringHeader HTML to merge 
template-contentstringContent HTML to merge
template-sign-off
stringSign Off HTML to merge


RETURNS

Returns the merged downloadable invoice from merged HTML.