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

Auto create customer/item via API

(1) ShareShare
ReportReport
Posted on by 2
I'm soon going to develop some code to send Sales invoices over to my BC account.
Before I start testing for existing customers and items, is there a setting somewhere to allow BC to auto create non existing customers and items in a sales invoice?
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,312 Super User 2025 Season 1 on at
    Auto create customer/item via API
    Hi,
     
    There is a way to auto create item in Sales document but via API it will not be possible as there is popup for that feature in client.
     
    You can create custom API Endpoint and write your logic to check item / customer exist or not. If does not exist, you can create new item / customer using custom API.
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    YUN ZHU Profile Picture
    78,735 Super User 2025 Season 1 on at
    Auto create customer/item via API
    Unfortunately, Sales Invoice is not available.
    For items, you can use Catalog Items on Sales Quote and Sales Order.
     
    For Customers, you can create Sales Quotes from Contacts without creating a Customer.
    Or
     
    Hope this helps.
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,886 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,768 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans