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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

create invoice through code

(0) ShareShare
ReportReport
Posted on by 304

Hi,

I'm doing an integration which requires  creating invoice through code, I'm basically using VendInvoiceInfoTable & VendIncoieInfoLine, and because I add  charges to the invoice I need the RecID field from VendInvoiceTrans table to link with the MarkupTrans table and insert in it.

my question here do I need to insert through code in VendInvoiceTrans or just using VendInvoiceInfoTable & VendIncoieInfoLine  will automatically insert in VendInvoiceTrans ?

I hope my case is clear enough, Thanks

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,735 Moderator on at

    What's the business scenario which forces you to create invoice using code ? You have VendorInvoiceHeader , vendorInvoiceLine  entities which will create pending vendor invoice for you . Later when you post this invoice the entries will be created in vendinvoiceJour and vendInvoiceTrans.

  • KareemTaima Profile Picture
    304 on at

    I'm doing an integration

    to be clear "Yes" means that I don't need to insert via code into VendInvoiceJour and VendInvoiceTrans?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 439 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans