Issue with the API endpoint '/attachments'

Denish Faldu 1 Reputation point
2021-12-15T13:20:56.2+00:00

Hello Microsoft Business Central Team!

I have start implementing business central API, I have successfully implemented '/salesInvoices' and '/salesInvoiceLines'.

However I have faced issue with attaching document to SalesInvoice in the endpoint '/attachments'.

facing problems are:

  1. In endpoint '/attachments', whatever document I upload, I am getting the error "The record in table Unlinked Attachment already exists. Identification fields and values:" (screenshot attached)
  2. Subtotal Excl. VAT (INR), Total Excl. VAT (INR), Total VAT (INR), Total Incl. VAT (INR) is filled up with always 0 (screenshot attached)

Please check the issue and help to get the issue fixed asap!

Screenshot (issue 1):
157903-image.png

Screenshot (issue 2):
157921-image.png

Windows 365 Business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lu Dai-MSFT 28,366 Reputation points
    2021-12-16T01:21:43.8+00:00

    @Denish Faldu Thanks for posting in our Q&A. For this issue, it is not related to windows 365. Based on my research, it is related to Dynamics 365 business central.

    To get more accurate help, it is suggested to find technical Support for Dynamics 365 Business Central. Here is the support link:
    https://video2.skills-academy.com/en-us/dynamics365/business-central/dev-itpro/technical-support

    Thanks for understanding and hope everything goes well with you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments