My Products
Help
Anonymous
Not applicable

Where can I find credit notes

by Anonymous

I use the endpoint JournalTransactionV2.
For each of these. I use the endpoint SupplierInvoice with LineReferenceNumber as filter.
If I find a SupplierInvoice record. Then I use the endpoint Attachment with AttachmentId as filter.
Finally, I retrieve the document.
This does not work for credit notes. Should I pick these up from somewhere else?​

I thought the endpoint CustomerCreditNote could be what I need, therefore I tried
https://integration.visma.net/API/controller/api/v1/customerCreditNote/200204

I get 404
"message": "Document with number 200204 could not be found"​

1 REPLY 1
Accepted solution
Magnus Johnsen
VISMA

by Magnus Johnsen

Hi Dag,

We just answered your email, but you need to specify the documentType via the supplierInvoice endpoint:

2020-11-16 08_56_00-Visma.net Integrations Documentation.pngembeddedimage1605513774172.png2020-11-16 09_02_26-Postman.png