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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Voucher xxx is already used as of date xxx while posting pending vendor invoice

(0) ShareShare
ReportReport
Posted on by 287

Hi All, 

We created a new intercompany customer invoice in GBR2 company . Free text invoice created automatically in GBR2 company and posted . In company NLD1 a pending vendor invoice is created . We tried to post that pending vendor invoice and ax is throwing below error.

1447.error1.JPG

I checked the journal and found this voucher number is already posted in date 1/25/2019

6237.image2.JPG

This is my Number Sequence screenshot , it is showing next number for the voucher is 33.

4628.image1.JPG

Please advice. Thanks for your help in advance. 

Thanks, 

Banu

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    298,168 Super User 2025 Season 2 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Nice catch, Banu!

  • BanuReddy Profile Picture
    287 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Andre, 

    I identified the root cause of this problem.Actually we copied the data from one company to another, which is causing the issue. I went to Journal set up Form, in that form voucher series is APINV. I right clicked and selected view details, it points to GBR1 company not NLD1. I deleted that and  selected the NLD1.   At end the number sequence problem resolved and we posted the invoice. Thanks for your support and time. 

    Thanks,

    Banu.

  • BanuReddy Profile Picture
    287 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Andre,

    yes you are right, we are using both intercompany project timesheet and expense.  Yes in NLD company the number sequence is continuous and other legal entities too it is continuous.

    Thanks for your time and support.

    Thanks,

    Banu

  • André Arnaud de Calavon Profile Picture
    298,168 Super User 2025 Season 2 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Banu,

    I don't have any idea about the setup in your environment. I did assume you are using the intercompany project timesheet invoicing. Is that correct or do you have another process? In this company, the number sequence is setup to be continuous. It is also continuous in other legal entities?

  • BanuReddy Profile Picture
    287 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Andre, 

    I think not sure about the customizations. Actually in our ax we have 8 company, NLD is a recently created company. Approximately one month back. This is a third AP Journal transactions created from AP->Journals. We don't have issues in remaining legal entity only in NLD we are facing this issue. 

    I don't know this information will be useful or not. Let me share my points, Actually vouchers will be automatically created while posting the Purchase order invoice.  we will create manually the vouchers in the AP->Journals, new journals then new vouchers. In this NLD1 company no purchase orders are created.  We have couple of intercompany transactions, we will automatically create pending vendor invoice.  The first AP Journal transactions created from AP->Journals. the voucher number is APIN000032. the second voucher number is APIN000033, which is created using AP->Journals. Then yesterday threw intercompany transactions five pending vendor invoice created. I faced the issue "voucher APIN000032 is already exists in date 1/25/2019". I followed the steps you suggested and deleted APIN000032 and tried to post pending vendor invoice. It throwed error "voucher APIN000033 is already exists in date 1/30/2019" ( which created from AP->Journals). I went back to number sequence form and deleted this record from stack list. Then my four pending invoices posted successfully. 

    Now today user went to AP-> Journals and created vouchers , it is throwing error "voucher APIN000034 is already exists in date 2/7/2019". In number sequence parameter form it shows next number is 40. 

    Am i missing any setups? Awaiting for your response.

    Thanks,

    Banu

  • André Arnaud de Calavon Profile Picture
    298,168 Super User 2025 Season 2 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Banu,

    Are you aware of possible customization in your environment? If not, can you reproduce this in a standard demo environment? It might be cause by a wrong call when drawing a new number from the number sequence.

  • BanuReddy Profile Picture
    287 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Andre,

    Again we are facing this issue today.  User went to AP-> Journals , created a journal and created a voucher . Voucher created is APIN000034. which is already exists. In my number sequence parameter form the next number sequence is 39. why it is picking APIN000034? I am confused. Please help. on the status list it shows APIN000039.

  • BanuReddy Profile Picture
    287 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Andre, 

    Thanks for your response. I deleted the Voucher number from the number sequence my status list. Now it shows voucher APIV0000033 is already used in the date 1/30/2019. Again i did the same steps. Now it allowed me to post the pending vendor invoice without any error. Thank you very much for your immediate response and support.

    5861.image3.JPG

  • Verified answer
    André Arnaud de Calavon Profile Picture
    298,168 Super User 2025 Season 2 on at
    RE: Voucher xxx is already used as of date xxx while posting pending vendor invoice

    Hi Banu,

    From this number sequence, open the Status List. If there is a record with number APIN0000032, then delete this record as otherwise it is trying to re-use this number.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Mea_ Profile Picture

Mea_ 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans