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  
lang 

Printout data language.

If omitted, API will return item names in the default language of your ERPLY account.
Possible values:
  • 'eng' - English
  • 'spa' - Spanish
  • 'ger' - German
  • 'swe' - Swedish
  • 'fin' - Finnish
  • 'rus' - Russian
  • 'est' - Estonian
  • 'lat' - Latvian
  • 'lit' - Lithuanian
  • 'gre' - Greek
 
String   

Response

Field name Type Description
html  String  Printout HTML output.