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

How do I set the "Debit/Credit" option through the API?

I have a bit of code creating a CashBookEntry through the API:

                var cbed = new CashBookEntryData()
                    CashBookHandle = cb,
                    Type = CashBookEntryType.CreditorInvoice,
                    CreditorHandle = creditorHandle,
                    CurrencyHandle = currencyHandle,
                    Amount = invoice.Amount,
                    Date = invoice.Date,
                    DueDate = invoice.DueDate,
                    CreditorInvoiceNumber = invoice.Id + "",
                    Text = "EDI Faktura " + invoice.Id,
                    VoucherNumber = voucherNumber


How do I set the "Debit/Credit" option exposed in the UI, through the API?
created Feb 17, 2014 by rk
0% Accept Rate
Q 1 A 0 C 0

1 Answer

That field is implicitly indicated by the signing of the amount.
answered Feb 18, 2014 by mortenanders
Visma e-conomic A/S