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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

API salesInvoiceLines endpoint not working anymore

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I have been using the BC365 API to create Sales Invoices and Sales Invoice Lines. The solution was working fine for six months, all of a sudden I am getting an error. The salesInvoices endpoint still works and I can still create invoices. But I cannot add Sales invoice lines to them. Neither GET nor PUT request work now. It is like the salesInvoiceLines is not accessible.

Any ideas?

Thanks.

Error message below:
No HTTP resource was found that matches the request URI 'api.businesscentral.dynamics.com/.../salesInvoiceLines

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    101,995 Super User 2026 Season 1 on at

    Hi, I briefly tested Get, and there seems to be no problem. I think it might still be your URL issue, but you've been working fine for six months, maybe it's an environmental issue. I'm not sure.

    My Test URL:

    https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox213/api/v2.0/companies(de688871-0a8b-ed11-aad5-000d3a23152c)/salesInvoices(b00a4383-7091-ed11-bff5-000d3ace65d1)/salesInvoiceLines

    pastedimage1677023588279v1.png

    Hopefully other experts can give you better advice.

    Thanks

    ZHU

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,222 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,603 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,186 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans