getSalesDocumentActualReportsHTML

Get an Actual Reports HTML printout for a sales document.

Actual Reports is a visual template designer integrated into Erply. Actual Reports templates can be managed in Erply back office. Erply provides a few basic templates by default, but new ones can be designed as needed. Back office lets you download a custom printout as a PDF document; the same document in HTML format is available with this API call.

Input parameters

Parameter name Description Possible value Required
documentID 

Invoice ID.

If you want to create a new invoice and also retrieve its printout with a single bulk request, set this field to a special value: "CURRENT_INVOICE_ID".

 
Integer  Yes  
templateID 

Printout template ID.

You can look up template ID from back office, from the drop-down list of templates.

 
Integer  yes  

Response

Field name Type Description
html  String  Printout HTML output.