diff --git a/print/templates/reports/invoice/invoice.js b/print/templates/reports/invoice/invoice.js index 113f32193..b2d2c8037 100755 --- a/print/templates/reports/invoice/invoice.js +++ b/print/templates/reports/invoice/invoice.js @@ -82,7 +82,7 @@ module.exports = { return this.rawSqlFromDef(`taxes`, [reference]); }, fetchIntrastat(reference) { - return this.rawSqlFromDef(`intrastat`, [reference]); + return this.rawSqlFromDef(`intrastat`, [reference, reference]); }, fetchRectified(reference) { return this.rawSqlFromDef(`rectified`, [reference]);