API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Create credit notes via API?

I am tring to create credit note via API.

But getting Invoice in the PDF instead of Credit Note.

I mean, I have created credit note like following way,

I wan to return the same item just because of the previous item was wrong, So in this case I have simply change the quantity to Negative( - ) and create new item line to return proper item in the same invoice.

In this case my gross amount is positive, I mean one line with negative quantity and newly created line in positive with some additional amount ( because the item which user want is higher price in compare to item which I am going to return ).  Finally, order gross amount is in positive.

In the whole case, Credit Note template is not used, invoice template is used. So, it says Invoice instead of Credit Note.   

What if gross amount will be positive?   

Please suggest me appripriate way to achive this kind of issue.
created Sep 13, 2012 by gunjanpatel
0% Accept Rate
Q 2 A 2 C 0

1 Answer

Per definition if the gross amount is positive it is an invoice - thus it will use the invoice template.

This is the way e-conomic works.
answered Sep 13, 2012 by nkn


Find all the documentation and resources you need to build great apps.
Go to Developer site


Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S