Neamitika Posted January 16, 2024 Share Posted January 16, 2024 Hi, i am developing an addon for e-invoice to send the invoice data to the Aruba e-invoice service. I am searching for some methods to retrive custom fields of single user. // $invoice is an array with all the information about the invoice $user_data = $invoice["user_data"]; $items = Invoices::get_items($invoice["id"]); // array of items inside the invoice $user_id = $user_data["id"]; // $user_custom_fields // method to get the user custom fields by $user_id Is there a documentation with all the classes and methods? Thx Quote Link to comment Share on other sites More sharing options...
Staff Member Onur Posted January 20, 2024 Staff Member Share Posted January 20, 2024 On 1/16/2024 at 1:39 PM, Neamitika said: Hi, i am developing an addon for e-invoice to send the invoice data to the Aruba e-invoice service. I am searching for some methods to retrive custom fields of single user. // $invoice is an array with all the information about the invoice $user_data = $invoice["user_data"]; $items = Invoices::get_items($invoice["id"]); // array of items inside the invoice $user_id = $user_data["id"]; // $user_custom_fields // method to get the user custom fields by $user_id Is there a documentation with all the classes and methods? Thx Hi @Neamitika A comprehensive documentation on all classes and methods will be published soon. But I want to give you better news: with WISECP 3.1.7 the WISECP API will be available. With the WISECP API, you will be able to complete the process you want to do in a much simpler and easier way. WISECP 3.1.7 will be released in the next few days. Quote Helpful links : Developer Center | Usage Guide | Translate | What's New? Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.