Hi. When will it be possible to create cash books via the SOAP API?
api cashbook
create a customer using rest api
Dear economic team i am working on rest api but i only get the information from the rest api but how i push information on economic such as
- create customer
- create invoices
I check rest api document but i only pull the information, please provide method for pushing data on economic.
Answered: how to use webhooks with c# only records has been change or newly created
The way a web hook work is that e-conomic makes a HTTP GET Request to a URL that you specify when an event is fired.
You can read about setting up web hooks here: http://wiki.e-conomic.co.uk/settings/web-hooks
You need a server that is publically available to be able to respond to those HTTP GET requests. When using C# I would recommend a web framework such as NancyFX (http://www.nancyfx.org) to set up a webserver that can respond to those web hooks.
Hope that helps.
Answered: CREATING A SUPPLIER INVOICE VOUCHER
Hi LuBaki,
The first error is caused by a missing accounting year. We are aware of that, and in the release after Easter this will return a more descriptive error message.
The second one is because you need to set up your number series, and make sure that it exists. As stated in the documentation, you need to make sure it is an object reference as well eg.
"numberSeries":{"numberSeriesNumber":3,"self":"https://restapi.e-conomic.com/number-series/3"}
You just put in the text "somenumberseries".
Answered: Resources: Cost types, Projects, Bank reconciliation.
That isn't available in the API yet.
Invoicenumber for CurrentInvoice
I have just created an invoice via CurrentInvoice_Create. The temp invoicenumber is not returned in the result. I have tryied to get it via CurrentInvoice_GetData, but that is not possible either. I know it is temporary, but why can I noget get the number anyway? It will only be used for display reasons, and the Id is used for retrieval for the invoice.
BR
Brian
Answered: how to create a new debtor using api
The error states that you have not defined a layout handle. The error message is misleading as we use two different names for layout, the other one being template collection.
You can find a list of layout handles by calling TemplateCollection_GetAll.
I hope that helps,
Rasmus Beck
Developer, e-conomic
Answered: Unable to set correct invoice margin
Please include your UnitCostPrice on your lines. Margin is calculated based on UnitCostPrice.
Answered: Invoicenumber for CurrentInvoice
The CurrentInvoice number as displayed in the column in the GUI is not exposed via SOAP.
Via REST "draftInvoiceNumber" is available on /invoices-experimental/drafts but unfortunately there currently doesn't exist any way to map the Number in SOAP with draftInvoiceNumber in REST.
Answered: Error message: This call is blocked for users of the international ledger.
Currently both Spain and Sweden use a ledger system named "International Ledger".
This ledger system is quite different to the CashBook ledger (Standard Journal).
The difference in the two ways of handling the accounting means that API interaction with the agreement has to reflect this.
With International Ledger cashbooks are replaced in entirety by a vouchers and interaction is only exposed via REST: /vouchers
Your solution for Denmark and Norway can use the same SOAP setup but for Sweden you'll need to use REST.
Please see: http://restdocs.e-conomic.com/#vouchers
Answered: Creating customer with the API
CustomerGroup: /customer-groups
PaymentTerms: /payment-terms
vatZone: /vat-zones
I'd highly recommend you take a look at the output of a GET with ?demo=true in the URL to the endpoint to get an example of the object you're looking to create.
Answered: Send linefeed via REST api
On invoices-experimental line-breaks are currently unsupported. Thank you for making us aware of the issue.
Once we transition the endpoint from experimental to stable this will be fixed.
Answered: Add line to invoice
Answered: [REST API] Bad Request error with supplier-invoices
Does the accounting year exists in the e-conomic agreement you're connecting to?
Answered: convert an order to invoice using API operation
The API operation is: Order_UpgradeToInvoice
Danish Special Characters in XML(Latin Encoding)
I am trying to create the Debtor with a name which is in danish language.
Name: "Føroya Studenterskúli "
But my construction of XML is goint to fault string.
I need to create Debtor with this name through Webservice, what type of encoding technique to be follwed to over come.
Answered: assign delivery location ean number in order
On Order_CreateFromData you should use <DebtorEan>string</DebtorEan>
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Order_CreateFromData
Answered: E-conomic Barcode = product number
There is no problem in setting barcode to Product Number if you like.
You will need to set the barcode on each product:
When creating the product:
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_CreateFromData
or updating the existing:
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetAll
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_UpdateFromDataArray
and then when scanning the barcode:
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByBarCode
Answered: Send invoice with EAN number via API?
Booking via the EAN system is a GUI only feature.
Answered: Any news on availability of EAN-invoicing?
This is not on our immediate roadmap.
We would love to be able to expose this at some point but there are no plans for this in the foreseeable future.