Skip to content

SudoSOS Back-end API / helpers / reportToDocumentLines

Function: reportToDocumentLines() ​

ts
function reportToDocumentLines(report): IReportDocumentLines;

Map a report's products and VAT groups onto the line items, VAT specification and totals of the shared HTML document (euros, not cents).

Parameters ​

ParameterTypeDescription
reportReportThe report to convert

Returns ​

IReportDocumentLines