Answered: `POST https://restapi.e-conomic.com/invoices-experimental/drafts`...
Your text seems to have been truncated as I can't read much. But I did get that the request body is empty. Please try a GET first and study what is returned to learn how to POST to a REST service.
View ArticleAnswered: AuthorizationException (E03062)
Hi Alvin Agreements on the Start-up license are not allowed to use Orders and Quotes. Not via GUI nor via API.
View ArticleAnswered: Obtain an Agreement Grant Token
Hi Manoj Developer agreements cannot create tokens for themselves as they contain no accounting data. Please have a look at https://www.e-conomic.com/developer/connect
View ArticleEconomic integration with app
Hi , I have been created one nopcommerce webstore app and now i want to connect it with e-conomic for invoice generation , order , customer details store how i can do this please help me for that
View ArticleAnswered: NopCommerce to Economic : Customers
hi Sir, I just want to connect my nopcommerce website to economic using secrete token and agreement grant token how i can do this
View ArticleAnswered: REST api - mark a payment
Hi Jimmy Payments are registered through the ledger system. On REST only the Swedish ledger system is exposed on /vouchers. For DK and NO it is currently not possible to register payments and match...
View ArticleAnswered: Set prices on pricegroup?
Hi Kenneth PriceGroup prices cannot be set via API. There isn't much exposure of the pricegroup price matrix beyond managing the groups themselves and reading a single special price from a single group...
View ArticleAnswered: Account_GetEntryTotalsByDate
Hi Ricky Account_GetData / Account_GetDataArray gives you information about the account and the current balance. GetEntryTotalsByDate gives you the entry totals for one or more accounts for a certain...
View ArticleAnswered: Entry_FindByDateInterval Error on return
Hi Ricky"Unable to parse message" means that your XML was unparseable and you should inspect what you are actually sending. A proxy tool like the free "Fiddler" is a great tool in this regard as it...
View ArticleAnswered: Create simple invoice
Hi 1. Make a developer account:Â https://www.e-conomic.com/developer Grab a demo account:Â https://www.e-conomic.dk/regnskabsprogram/demo-alle Connect the demo and the developer accounts:...
View ArticleAnswered: Endpoint for monthly trial balances?
Hi Odd We don't yet fully expose the accounting features tab in e-conomic via REST. But perhaps you could take advantage of our totals endpoint to retrieve debtor/customer...
View ArticleAnswered: Draft Invoice with SOAP API
Hi pertdk CurrentInvoice === Draft Invoice In general the SOAP API (for historical reasons) uses "Current" to denote draft status/editability. Have a look at CurrentInvoice_CreateFromDataArray and...
View ArticleAnswered: Get number on current invoice
Hi Kenneth The SOAP API doesn't expose the temporal ID that is used in the GUI. To access this you will have to use the REST API. Here you can find the property "draftInvoiceNumber" on...
View ArticleMake a simple CashBook entry using SOAP and PHP
I would like to make a simple cashbook entry everytime a purcahse is made on our platform. The entry should contain: Amount Account number (e.g. 5820) (optionally) some text I have found a PHP...
View ArticleAnswered: Connect example for the REST api and ASP.NET MVC
Something like this:Â Â Â Â string result = Get("https://restapi.e-conomic.com/customers");Â Â If you have the following code:Â Â Â Â Â private string Get(string url)Â Â Â Â {Â Â Â Â Â Â //Task.Run()...
View ArticleAnswered: International Ledger - How to get Invoice Number via API?
Hi Nill Invoices aren't part of international ledger. Ledger = cashbook / kassekladde. So you actually just have to use /invoices-experimental on REST to read invoices for any e-conomic agreement....
View ArticleAnswered: X-AgreementGrantToken?
Hi, Cyril is right about having to create a demo account. This is a full account that you can do everything with. They exist in our production evironment alongside all our paid subscriptions. If you...
View ArticleAnswered: Internal error - Entry_GetDataArray
Hi Casper, I can see that we had an internal server error. I am unsure exactly what the problem is at this time, but I have added a bug to our backlog so we can address it.
View ArticleAnswered: Account_GetDataArray - Input array cannot be null error
Hi Greg, I can see you are trying to connect to the Reviso API. This is no longer part of e-conomic, so your request does not exist in our logs, and I cannot see what is going wrong. You need to...
View ArticleAnswered: Anvende API via PHP
Prøv at se på denne. https://github.com/Lenius/economic-php-client
View ArticleAnswered: Hi i need a example script for doing rest api calls in php
https://github.com/Lenius/economic-php-client
View ArticleAnswered: E-conomic, what function to edit text in Bank reconciliation
Hi ossedk This should be on your CashBookEntry_CreateFromDataArray when you set the "Text" property.
View ArticleAnswered: This endpoint is only available for agreements with an...
Hi Roy The REST API does not currently support cashbooks for DK and NO agreements. Swedish agreements use International Ledger and therefore have access to using REST when creating ledger entries...
View ArticleAnswered: SOAP API: API Key for non partner app
Hi Benjamin All apps, partner or not, are created on developer agreements. AgreementGrantTokens are then created using the app-requestURL. You can read a full guide here:...
View ArticleAnswered: How to create "text lines" with QuotationLine_CreateFromData (SOAP)
Hi Hoyer When creating text lines on sales documents you only set the text. This does not mean that SOAP accepts missing elements though. Instead of "0" try using xsi:nil when you need to define a...
View ArticleAnswered: CurrentInvoice_FindByOrderNumber missing?
Hi Hoyer CurrentInvoice_FindByOrderNumber would be exactly the method if such one existed. Alas it does not. We recommend using the field "OtherReference" and _FindByOtherReference which is supported...
View ArticleOrderNumber not returned from CurrentInvoice_GetData
The field <OrderNumber>int</OrderNumber> is returned from Invoice_GetData but not fromCurrentInvoice_GetData:-(Â
View ArticleSuggested reading for developers of any REST api
Microsoft has released an excelent guidehttps://github.com/Microsoft/api-guidelines/blob/master/Guidelines.md Lots of input for making an REST api easy and consistent to consumers
View ArticleAnswered: Changing the $ sign and removing Freight and adding TAX
Hi Kees Is your issue related to e-conomic APIs or are you looking for general coding help? I might suggest you use stackoverflow.com as it is quite a bit more vibrant forum for general coding...
View ArticlePHP Soap Get Project List
Hi there.. New to this .. Got a connection to economic - but need a list of projects with their handles (to do a dropdown)  Tried  $projectHandles = $client->ProjectGroup_GetAll();...
View ArticleAnswered: Create Time Entry
Hi Osomanden Null data entities not allowed means you've sent in an empty entity. Here's your XML from the logs:<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope...
View ArticleAn activity must be specified
PHP Fatal error:  Uncaught SoapFault exception: [soap:Client] Economic.Api.Exceptions.IntegrityException(E04010): An activity must be specified What does that mean (ActivityHandle)? Activation code:...
View ArticleSOAP-ERROR: Encoding: object has no 'Id'
Hi. I am trying to update debtor with Debtor_UpdateFromData. I had a working code 1 year ago, but now it is complayning SOAP-ERROR: Encoding: object has no 'Id' I cannot find any missing ID for the...
View ArticleAnswered: Udviklerkonto
Hi Hedam To make a developer agreement permanent please use the button on the frontpage of your developer agreement to contact the Apps Team. Make sure to include a few words about what you're...
View ArticleAnswered: Economic.Api.Exceptions.ValidationException(E04010): Argumen
Hi All I too feel into this hole. The documentation is a bit shakey on the parameter name: debtorHandle, everywhere else "D"ebtorHandle is with uppercase AND more importantly, it doesnt have the...
View ArticleAnswered: Exception thrown when calling CashBookEntry_CreateFromData SOAP API
Hi Mikkel Here's the XML you're submitting:<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";...
View ArticleAnswered: setDueDate on Order does not set a correct due date
To have dueDate be active you need to set the PaymentTerm to DUE_DATE.http://wiki2.e-conomic.dk/indstillinger/kategorier-og-enheder-betalingsbetingelser The payment term defines the rules applied to...
View ArticleAnswered: Order send in trail account
Please ensure that you're using an AgreementGrantToken generated for an accounting agreement when connecting using tokens. AgreementGrantTokens should not be generated with Developer and Administer...
View ArticleAnswered: "Avdelning" section in Voucher Lines
Hi Roy I've looked in the UI and I see no way to do this in the application? If it's possible, can you please post a screenshot of where you have this option?
View ArticleAnswered: REST - Filters on customerGroup/supplierGroup attributes
Demo of filtering on customerGroupNumber on /customers:https://restdemo.e-conomic.com/index.html?path=customer-groups&filter=customerGroupNumber$eq:1 Filtering on supplierGroupNumber on /suppliers...
View ArticleAnswered: REST api Cashbooks status
CashBooks on REST is coming up on our roadmap. We don't yet have an ETA for when anything will be out for consumption. Be sure to follow our newsletter for status and news on what's happening on the...
View ArticleAnswered: E-conomic Java Jar | connectwithtoken | cannot connect without...
Hi Do you get this when calling ANY method or just the Verify method? Could you please check if this could be a bug in Verify as token connect nullifies the need for the verify method. Please also try...
View ArticleAnswered: Daybook and currrency
Hi Theodor When creating CashBook entries the property "AmountDefaultCurrency" is the amount in the base currency of the agreement."Amount" must be set to the amount selected in the "Currency"...
View ArticleAnswered: ValidationException(E04010): The document may not be null
It seems the objOrder is Null.. Although its the same solution as pre-token, there seems to be some difference in how the data received after a call..
View ArticleAnswered: How to get all customers
Hi Petko On SOAP a customer is a Debtor. (and a supplier is a creditor). Debtor_GetAll + Debtor_GetDataArray and on next sync do Debtor_GetAllUpdated + Debtor_GetDataArray On REST a customer is a...
View ArticleAnswered: where to view debtors(customers) ?
Hi Rupesh, When creating new entities in e-conomic that have the IsAccessible boolean, ensure that you set it to true when you want it to be shown as "Open". When you look in the GUI there's a...
View ArticleAnswered: InventoryLocation_GetAll returns only 5 records
Hi Alvin, Inventory locations are for instance a warehouse and a store. InventoryLocation_GetAll will return all Inventory Location handles. Are you perhaps looking for something other than inventory...
View ArticleAnswered: Invoice rows in wrong order.
Hi David SOAP doesn't include sort keys for sales document lines. REST includes the sort keys on the lines: /invoices/drafts/:draftInvoiceNumber /invoices/booked/:bookedInvoiceNumberRESTDocsREST Demo...
View ArticleAnswered: Regarding callback
Hi Rupesh, Have a look at our web hooks.https://www.e-conomic.com/developer/working-with-web-hooks End-user guide to setting them up on the...
View ArticleCashbooks, Projects and CostTypes in REST API
Hi, I have started migrating to the REST API and it seems that there's no support for the following entities: Cashbook / CashbookEntry Project CostType Is there any ETA for each of these three?...
View Article