Skip to main content

Peliqan

Visma Net (Visma.net)

Total sales revenue by customer

SQL query for Visma Net (Visma.net)

Calculate the total sales revenue generated by each customer.

SELECT customers.customerName, SUM(customerinvoices.totalAmount) AS total_sales_revenue FROM customers JOIN customerinvoices ON customers.customerId = customerinvoices.customerId GROUP BY customers.customerName

Visma Net (Visma.net) data model

Visma Net (Visma.net)
Accounts

Visma Net (Visma.net)
Customers

Visma Net (Visma.net)
Suppliers

Visma Net (Visma.net)
Supplierinvoices

Visma Net (Visma.net)
Supplierinvoicelines

Visma Net (Visma.net)
Customerinvoices

Visma Net (Visma.net)
Customerinvoicelines

Visma Net (Visma.net)
Customerbalances

Visma Net (Visma.net)
Customercreditnotes

Visma Net (Visma.net)
Currencies

Visma Net (Visma.net)
Currencyrates

Visma Net (Visma.net)
Customerpayments

Visma Net (Visma.net)
Customerdebitnotes

Visma Net (Visma.net)
General Ledger Balance

Visma Net (Visma.net)
Ledgers

Visma Net (Visma.net)
General Ledger Transactions

Visma Net (Visma.net)
Purchaseorders

Visma Net (Visma.net)
Salesorders

Visma Net (Visma.net)
Inventoryitems

Ready to get instant access to all your company data ?​

Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.