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

CashBook: Operation that reverses / offsets the payment of specific invoice?

0
Hi all

Which API operation creates a entry which reverses (in danish "udligner") the payment of a specific invoice? The invoice is paid via Nets / Teller. I use "Creditcard" as terms of payment and have connected it to the (payment) debtor.

The API operation "CashBookEntry_CreateDebtorPayment" comes close but reverses the debtor (and not its invoice).

If there were an API operation called "CashBookEntry_CreateInvoicePayment" it would have been perfect, but perhaps there is under another name? Or perhaps it is more correct to offset the (payment) debtor and use the The API operation "CashBookEntry_CreateDebtorPayment"?

UPDATE: Perhaps "CashBookEntry_Create" + "CashBookEntry_SetDebtorInvoiceNumber" is the right solution for offsetting the invoices.
created Nov 21, 2013 by Jens Kirk
14% Accept Rate

edited Nov 21, 2013 by Jens Kirk
Q 15 A 9 C 7

1 Answer

0
Hi,

If you need to create a payment and have it automatically matched against a specific invoice, you'll need to set the DebtorInvoiceNumber on the payment entry. Which would be of type DebtorPayment.

 

BR,
answered Dec 3, 2013 by Christian Estrup
Visma e-conomic A/S
...