Create credit notes via API?

Forum for .NET developers using the E-conomic API.
Exchange your ideas, tip and tricks using the API.
Best Practices

Create credit notes via API?

Postby Kevin@ToyJoy » Wed Nov 30, 2011 2:54 pm

Hi,

Is it possible to create credit notes via the API?

I can't quite find anything about this in the documentation for the API (or maybe I'm looking in the wrong place).

Regards,

Kevin
-
Kevin@ToyJoy
 
Posts: 1
Joined: Wed Nov 30, 2011 2:49 pm
Location: Esbjerg, Denmark

Re: Create credit notes via API?

Postby Christian Estrup » Wed Nov 30, 2011 4:27 pm

Hi Kevin,

Sure it is - credit notes are just not separate entity types, but simply invoices; typically with negative per-line quantities.

Then, when generating the PDF, e-conomic will look at the sign of the total gross amount - and, from that, decide whether it's an invoice or a credit note, and use the appropriate template.


Best regards,
Christian Estrup
Chief Architect

Image
Online accounting
User avatar
Christian Estrup
 
Posts: 245
Joined: Tue Jun 09, 2009 6:37 pm


Return to .NET



cron