Skip to content
Report · Sales

Sales transaction lines

Every invoice, cash sale and credit memo line of the last two years, the detail behind the sales summaries.

  • detail
  • lines
  • invoices
Sample preview, fictional dataYour own figures appear after import.

01

About this report

One row per item line of an invoice, cash sale or credit memo in the last 24 months. Each row gives the month, date, type, document, top-level customer, the customer or project billed, item, memo, quantity, net amount in base currency and sales rep. Credit memos are negative.

Opened from Sales by customer by month, it arrives filtered to one customer and month. On its own, filter by Customer, Item, Sales rep or Month.

02

Sample preview

Fictional figures in the shape you will see. Yours come from your account.

MonthDateTypeDocumentCustomerBilled toItemMemoQuantityNet salesSales rep
2026-092026-09-19InvoiceINV20931Harbor & Pine Co.Harbor & Pine Co. : Retail rolloutImplementation servicesSeptember milestone407,600Dana Whitfield
2026-092026-09-19InvoiceINV20931Harbor & Pine Co.Harbor & Pine Co. : Retail rolloutTravel1845.20Dana Whitfield
2026-092026-09-12InvoiceINV20914Brightline Dental GroupBrightline Dental GroupAnnual support plan112,000Marco Ruiz
2026-092026-09-08Credit MemoCM00412Northgate SupplyNorthgate SupplyImplementation servicesGoodwill credit-4-760Marco Ruiz
2026-092026-09-03Cash SaleCS00088Coastal FreightwaysCoastal FreightwaysTraining day11,950Dana Whitfield

03

The SuiteQL

This is the query each report runs. Read it, copy it, or change it after import.

Sales transaction lines
SELECT TO_CHAR(t.trandate, 'YYYY-MM') AS period,
       TO_CHAR(t.trandate, 'YYYY-MM-DD') AS tran_date,
       BUILTIN.DF(t.type) AS type,
       t.tranid AS document,
       NVL(c.altname, c.entityid) AS customer,
       NVL(e.altname, e.entityid) AS billed_to,
       BUILTIN.DF(tl.item) AS item,
       tl.memo AS memo,
       -tl.quantity AS quantity,
       -tl.foreignamount * t.exchangerate AS sales,
       BUILTIN.DF(t.employee) AS sales_rep
  FROM transaction t
  JOIN transactionline tl ON tl.transaction = t.id
  JOIN entity e ON e.id = t.entity
  JOIN entity c ON c.id = e.toplevelparent
 WHERE t.type IN ('CustInvc', 'CashSale', 'CustCred')
   AND t.posting = 'T'
   AND tl.mainline = 'F'
   AND tl.taxline = 'F'
   AND NVL(tl.iscogs, 'F') = 'F'
   AND tl.itemtype NOT IN ('TaxGroup', 'TaxItem', 'Subtotal', 'Description', 'EndGroup')
   AND t.trandate >= ADD_MONTHS(TRUNC(SYSDATE, 'MM'), -23)
 ORDER BY t.trandate DESC, t.tranid

04

Appears in

ReportSales

Sales transaction lines

Screenshot of the Sales transaction lines report in HiScale Advanced Reports, filled with fictional sample data
Sample preview, fictional dataOpen image full size (opens in a new tab)