Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : MW1+j/0D5sH45bf7PE9E0l
Small and medium business | Business Central, N...
Suggested answer

Import Posted Invoice

Like (0) ShareShare
ReportReport
Posted on 27 Jan 2021 14:34:21 by 95

Hello,

We are trying yo import Posted Invoices in tabel "Sales Invoice Header" during migration of data in to Business Central. When we validatie the data we get an error telling us we don't have the permissions for Adding or modifying this table. We have tried everthing we know (Tenant Admin, BC Essential license, BC Premium license, SUPER permissions,...) but we still get this error. How can we fix this ?

Thanks,

Peter

Config.Package.Error.jpg

  • OliverLOlsen Profile Picture
    40 on 03 Feb 2021 at 09:11:24
    RE: Import Posted Invoice

    Hi,

    From what system are you trying to import the data?

    If you want to import the invoices for the financial transactions, you should rather import the financial transactions related to the invoices as G/L Lines.

  • JAngle Profile Picture
    73 on 29 Jan 2021 at 18:40:09
    RE: Import Posted Invoice

    Is what your choosing to do a good plan? You will have to handle VAT doing it this way. Something I am currently having to deal with for a client migrating many years of history. Most data migrations I’ve ever done for invoices involve only a journal so no document number problems as the posting change is optional. Also VAT not a problem as the invoice is for the gross amount as that’s what is payable by the customer.

    If you’re concerned about having or producing copy invoices you can attach documents to journal lines and export those files later.

  • Suggested answer
    JAngle Profile Picture
    73 on 29 Jan 2021 at 18:29:31
    RE: Import Posted Invoice

    One number series. No for default numbers. Yes for manual numbers. Set it for sales invoices and posted sales invoices.

  • TWS - PVB Profile Picture
    95 on 29 Jan 2021 at 14:43:43
    RE: Import Posted Invoice

    Hi Suresh,

    Thanks for your answer. I now do understand that it is not possible to imput posted tables.

    We need to import history invoice in BC but the Invoicenumbers should be the same as the originale invoice. We did succeed to import the the invoices as sales invoices (so not posted) but we still struggle with the invoicenumber. It should be great if we could tell the system to keep the invoice number of the imported sales invoice, but we can't achieve this.

    Regards,

    Peter

  • Suggested answer
    Suresh Kulla Profile Picture
    46,449 on 27 Jan 2021 at 22:13:14
    RE: Import Posted Invoice

    You cannot insert data into posted tables, those tables are protected.  As others mentioned you need to create a sales invoice and then post and you can populate manual no.'s by setting the manual on the No. Series line. 

    https://www.inecta.com/working-with-the-number-series-in-microsoft-dynamics-nav-2015

    Why are you trying to create posted invoices? are you planning to bring the history from another version or product?

  • Suggested answer
    JAngle Profile Picture
    73 on 27 Jan 2021 at 22:03:20
    RE: Import Posted Invoice

    Alter the number series so the posted sales invoices uses the same as the “open” sales invoices. Have the number series itself set with manual numbers and not as default

  • TWS - PVB Profile Picture
    95 on 27 Jan 2021 at 20:21:28
    RE: Import Posted Invoice

    Hi Duilio,

    Thanks for your answer. I was afraid that this would be the answer.... If we first import them as Sales invoices and we post them we loose the original invoicenumber. So how is this usually solved when customers want to import their historic invoices ?

    Kind regards,

    Peter

  • Suggested answer
    THE Italian Profile Picture
    on 27 Jan 2021 at 15:53:05
    RE: Import Posted Invoice

    You cannot import data in that tables. These can only be populated through postings procedure or you have to import sales invoices first and then post them.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 293,425 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,557 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete