web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Detailed Net sales and Cost of goods sold report to Excel

(0) ShareShare
ReportReport
Posted on by 10

Hi,

Basically I would just like to have a Net sales and Cost of goods sold report in an Excel table that shows exactly the same Net sales and Cost of goods sold amount in total that is in the Income Statement for a particular period. It needs to include at least the following parameters:

Type (item, G/L account)
Item no (or G/L account nr if not an item)
Item description (or G/L account description)
Order nr
Invoice nr
Customer name
Posting date (actual transaction posting date)
Dimension1
Dimension2
Country name
Sales amount (LCY)
Cost amount (LCY)
Quantity

I have browsed through Web Services but I am a bit overwhelmed. Today I use the Item ledger entry as source (Odata to Excel), however for net sales I would like to use posted sales invoices data instead of outbound deliveries which seems to be the source for Item ledger entry. If I use the item ledger entry data then it show as sales as soon as we have shipped the goods from stock. I would also like to include surcharges invoicing like freight, which is booked against a G/L cost account. Also, any inventory adjustments (that are not related to a sale) needs to be displayed (otherwise it will not match the cost of goods sold in the Income Statement). 

It seems like page Sales Invoice Statistics (397, ListPlus) and table Sales Invoice header (112) have useful information stored regarding the sales amounts and costs but this is only on invoice header level.

Is this possible to do?

Many thanks for the help.

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    on at

    Hello,

    If you don't get further responses to this issue, you may want to raise a support request to Microsoft support via your CSP / Partner.

  • Suggested answer
    Amit Profile Picture
    2,557 on at

    Refer the link

    https://erpconsultors.com/export-to-excel-report-in-business-central/

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, I feel like it's possible, but I'm not sure if the existing page will meet all your needs.
    Maybe you need to recreate a new page or query, and then publish it in the Web Service.

    Hope this helps.

    Thanks.

    ZHU

  • Wearway Profile Picture
    10 on at

    Thanks for your replies.

    I have gathered most of the data I need:

    Posted Sales Invoice (132)

    Posted Sales Credit invoice (134)

    Posted Sales Invoice Lines (133)

    Posted Sales Credit Invoice Lines (135)

    Value entries (5802)

    From 5802 I get everything I need expect for surcharge revenue (for example freight), that have been posted directly on G/L account. This is possible to retrieve in 133 and 135. Problem is that there is no LCY for 'Line_Amount' in 133 and 135, which I would need for the freight surcharges revenue (booked against G/L account). Any suggestions how to solve this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans