Announcements
No record found.
Hi,
BC doesn’t allow you to directly mark a posted sales invoice as “Paid” via the standard API. The invoice status is determined by ledger application, not a field toggle. But there’s a clean workaround using the Customer Payment API and a custom journal posting routine.
Here’s how to approach it:
This approach ensures the invoice is marked as paid and the customer ledger reflects the correct balance.
Optional enhancements:
WOOCOM
Helpful References: Customer Payment API – Microsoft Learn GitHub – Journal Line Posting Codeunit Invoice Sales – Microsoft Learn Power Automate Integration – Microsoft Docs If you find this helpful, feel free to mark this as the suggested or verified answer. Cheers Jeffrey
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,926 Super User 2026 Season 1
YUN ZHU 1,158 Super User 2026 Season 1
Khushbu Rajvi. 533 Super User 2026 Season 1