My Products
Help
KonsultVn
CHAMPION ***

Issue with creating attachments on customerInvoice

by KonsultVn

Hi, 

 

We have a issue with creating attachments on customer invoices. 

 

We have two different scenarios.

 

Scenario 1: 

We send a POST request with the attachment to /controller/api/v1/customerinvoice/{invoiceNumber}/attachment and receive a 404 response. 

 

Scenario 2:

We send a POST request to /controller/api/v1/customerinvoice/{invoiceNumber}/attachment and receive a 200 response. In this case we can also see that the attachment exists in the response when we make a GET request to: /controller/api/v1/customerinvoice/{invoiceNumber}, but the attachment is not visible in the GUI. 

 

This seems to be affecting multiple customers and we are not sure to what extent. Please advise. 

 

Best regards. 

2 REPLIES 2
KonsultVn
CHAMPION ***

by KonsultVn

Yes, its still the same problem, still no attachments. 

 

We use access_token och ipp_company_id to post the attachments from a API-user. Could the access rights on that user be the issue? Has this changed recently?

by Magnus Johnsen

Hi,

From the customers that you have seen this with, are the attachments still not there?

What user is it that tries to post the attachments? I.e owns the token, is it a user that has logged in or is it the integration?