i have been trying:
https://restapi.e-conomic.com/invoices/booked?filter=customer.customerNumber$eq:108'
Is filtering only available as experimental? - because i can make it work on experimental drafts..
Hi I am getting this error on one server, but works fine on another. What is the violation that I am making in the request? where can I get the information of e-conomic SOAP encoding rules? Thanks for any help!
I have this scenario for setting creditor bank payment:
Hi TechHouse
Yes and no :-)
By using CashBookEntry_CreateFromData with the type ManualDebtorInvoice and setting DebtorInvoiceNumber instead of using the convenience endpoint CashBookEntry_CreateManualDebtorInvoice you can do it.
Hi, I receive this error when updating product with SOAP api:
Economic.Api.Exceptions.IntegrityException(E06000): The product '' does not exist.
I'm pretty sure I give the right numbers for the handle and product number, here is the code:
--------
$id = get_the_ID();
Im trying to pull some data from my E-conomic demo account via the provided PHP example:
https://github.com/e-conomic/eco-api-ex/blob/master/examples/php/list_debtors.php
However i just get this: LN 130: Notice: Undefined property: stdClass::$DebtorData
LN 162: Warning: Invalid argument supplied for foreach()
Tried som other examples i found on the net with same result.
What am i doing wrong?
Hi jhross
To set default payment type and default payment creditor id you need to use:
Creditor_SetRemittanceInformation
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Creditor_SetRemittanceInformation
On Creditor_UpdateFromData these are ignored.
I have problems with the REST API sending a PUT to Book a draft invoice selecting the invoice number. For example, if my Draft number is 45 and I want to create a Book invoice with number 328, I try this calling with the method PUT (I have changed here the AppID and AccessID for security reasons):https://restapi.e-conomic.com/invoices/booked/_45_328?AppID=eRAvkbyi8hh3lJBGUhA_R4gsz4J0t-gp_6nN_PsL7P41&AccessID=gd3TjweI22f_LR-w-Mm4cayNO_KliZLvX-rCzojkRaE2
Is that correct?, must I send any JSON data in this petition?, is neccesary to add the header: "Content-Type: application/json" as in the POSTs petitions?
The result of my calling is:
{"message":"We have experienced an internal server error. The error has been logged.", "errorCode":"E00000","developerHint":"If you continue to see errors here, please contact api@e-conomic.com. Remember to include error id and agreement number when contacting support.","logId":"70d9230f-fac1-4b8a-a93b-aaf887420bbf","httpStatusCode":500,"logTime":"2015-03-13T20:17:13"}- - - - - - -
When I see the details of a Draft invoice with the GET method, in the last lines appears the next description, that is the thing that I'm trying to do:
"bookWithNumber":{"description":"Book a draft invoice on a specific invoice number.","href":"https://restapi.e-conomic.com/invoices/booked/_4_bookingNumber?AppID=eRAvkbyi8hh3lJBGUhA_R4gsz4J0t-gp_6nN_PsL7P41&AccessID=gd3TjweI22f_LR-w-Mm4cayNO_KliZLvX-rCzojkRaE2","httpMethod":"put"}
Thanks a lot