With our July 14th update to version 1.4.5 of the e-conomic API, a number of new features have been added:
Time entries may now be created via the API, using the new
ITimeEntry class. This will open up a host of new possibilities for integrations (IPhone interface, anyone?). Note that this requires access to the Project Management add-on module. Also note that approval of time entries is not yet available in the API.
Accruals may now be set on cash book entries, using
ICashBookEntry.SetAccrualInformation(). Note that this requires access to the Accruals add-on module.
Accounting years are now exposed (read-only), via the
IAccountingYear class. This is a great help for integrating with e.g. reporting tools, where your calculations of account balances from entries (class
IEntry) will depend on which accounting years are already closed.
ISumInterval class allows reading and writing of sum intervals for sum interval accounts (AKA TotalInterval accounts in some language versions of the e-conomic web application). To retrieve all sum intervals for a given sum interval account, you can use
It is now possible to look up invoices by order number, using
IInvoiceUtil.FindByOrderNumber(). Note that, since the order number is auto-generated, the recommended way of tracking an invoice all the way through is to set
IInvoiceUtil contains a
FindByOtherReference() method for subsequently looking up your invoice.
Subscription users can now find all subscribers on a customer using the new
ICreditorEntry classes now expose a
SerialNumber property, allowing you to uniquely identify individual debtor/customer and creditor/supplier entries.
Finally, the new
IEntryUtil.GetLastUsedSerialNumber() makes it even easier to synchronize entries between e-conomic and other systems, by allowing you to very quickly determine whether new entries have been created in e-conomic.
As always, if you wish to utilize some of this new functionality, you need to upgrade to the latest version of
Economic.Api.dll – or ‘re-consume’ the web service if you’re not developing on the .NET framework. Pick up the latest version of our SDK .
NOTE: The SerialNumber property on debtor/creditor entries seems to have caused some problems for a few people. Long story short: Make sure you’re using at least version 184.108.40.20681 of
Economic.Api.dll, and you should be fine.
For any technical questions on either the new or existing API functions, we are of course still available at email@example.com.