Neil Orley
e61d625577
FIX error message
2017-12-15 10:02:23 +01:00
Neil Orley
9b2611933d
NEW Create an invoice using an existing order
...
Create an invoice using an existing order using the REST API
2017-11-14 15:49:09 +01:00
Neil Orley
e513ed09f6
Change the way pa_ht is calculated
2017-11-14 14:43:50 +01:00
Laurent Destailleur
11cc82e6d2
Update doc
2017-11-10 10:15:50 +01:00
Laurent Destailleur
ea5dd3eb3d
NEW Add REST API for supplier proposals
2017-11-06 11:06:31 +01:00
Laurent Destailleur
309e83a946
Remove the "add" in addpayment. Action in API is hosted by the method
2017-11-02 16:06:44 +01:00
Laurent Destailleur
36f7f32205
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2017-11-02 16:02:24 +01:00
Laurent Destailleur
d70f9e053e
Remove the get in url. The GET is already in the method.
2017-11-02 16:01:13 +01:00
Neil Orley
5febdf7bae
NEW Add payment line to a specific invoice using the REST API
...
Add payment line to a specific invoice using the REST API
2017-11-02 15:01:38 +01:00
Neil Orley
9a1c684870
FIX wrong paramters name in the usecreditnote method
...
Rename 'creditnoteid' with 'discountid' in the URI
Rename 'creditId' with 'discountid' in the method
2017-10-27 10:02:17 +02:00
Laurent Destailleur
f4a06aef3f
Update api_invoices.class.php
2017-10-27 00:36:06 +02:00
Neil Orley
da0a205a10
NEW Deduct an available credit to an existing invoice
...
Deduct an available credit to an existing invoice using the REST API
2017-10-25 17:09:37 +02:00
Neil Orley
3e53a2ecff
FIX merging conflict
2017-10-25 14:52:33 +02:00
Neil Orley
257acb6679
NEW Insert a discount in a specific invoice using the REST API
...
Add ability to insert a discount in a specific invoice.
2017-10-25 14:41:12 +02:00
Neil Orley
ec6a19a123
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop-api-down-payments
2017-10-25 09:57:53 +02:00
Neil Orley
b4c484cf0b
NEW Get available assets of an invoice using the REST API
...
Returns a list of paid down-payments, available avoirs, etc. with the payments detail
2017-10-24 14:29:28 +02:00
Laurent Destailleur
8592e1b1e8
Update api_invoices.class.php
2017-10-24 12:49:37 +02:00
Laurent Destailleur
b6825703b4
Update api_invoices.class.php
2017-10-24 12:47:15 +02:00
Neil Orley
c34a6db13a
Rename assets with avoirs
2017-10-24 11:53:39 +02:00
Neil Orley
41104de7ce
NEW Get available assets of an invoice using the REST API
...
Returns a list of paid down-payments, available avoirs, etc. with the payments detail
2017-10-24 11:47:25 +02:00
Neil Orley
02c8f7f905
Modify rights check in the getPayments method
2017-10-24 11:25:31 +02:00
Neil Orley
0a43a12420
NEW Get a payment list of a given invoice using the REST API
...
Add the getpayments method to retrieve a list of payments of a given invoice
2017-10-24 10:50:38 +02:00
Neil Orley
2a9ddf7437
Remove whitespace
2017-10-23 16:49:00 +02:00
Neil Orley
bd0079b3f1
NEW Retrieve available discounts and payments details from an invoice
...
Adds the ability to get availbales discounts and payments details of a specific invoice unsing the REST API.
2017-10-23 16:45:49 +02:00
Laurent Destailleur
c6e5115d34
Set default limit to 100 on all rest api that list
2017-10-22 15:42:19 +02:00
Laurent Destailleur
83c1928034
Fix duplicate methods
2017-10-22 12:21:44 +02:00
Laurent Destailleur
728e36f70f
Merge branch '6.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/api/index.php
htdocs/comm/propal/class/api_proposals.class.php
htdocs/comm/propal/class/propal.class.php
htdocs/compta/facture/class/api_invoices.class.php
htdocs/core/actions_massactions.inc.php
htdocs/core/actions_sendmails.inc.php
2017-10-22 01:43:33 +02:00
Laurent Destailleur
d4ade7b935
FIX API to get object does not return data o flinked objects
2017-10-19 17:57:16 +02:00
Laurent Destailleur
cb089987ee
Fix code comment
2017-10-19 12:35:15 +02:00
Laurent Destailleur
93d16bf4d7
Fix several fixes in APIs
2017-10-19 12:30:36 +02:00
Laurent Destailleur
99239cbb38
Add API close to close an order
2017-10-18 15:34:03 +02:00
Laurent Destailleur
45ac8367bd
NEW Add API for contracts
2017-10-16 17:56:59 +02:00
Laurent Destailleur
af1d2bfffd
Standardize code
2017-10-07 14:11:01 +02:00
Laurent Destailleur
1b399dc8dd
Update api_invoices.class.php
2017-10-07 13:28:04 +02:00
Neil Orley
925a86b2ba
NEW Delete a line of invoice using the REST API
...
Adds the ability to delete a line of an invoice using the REST API
Rename a post action with a "verb"
2017-10-06 20:49:58 +02:00
Neil Orley
503129c9f4
Rename method draft and paid to settodraft and settopaid
2017-10-02 11:51:54 +02:00
Neil Orley
5b91a6a37b
NEW Sets an invoice as paid using the REST API
...
Adds the ability to set an invoice as paid using the REST API
2017-10-02 11:17:46 +02:00
Neil Orley
91a1d6c17e
NEW Set invoices as draft using the REST API
...
Adds the ability to set an invoice status as draft using the REST API
Change response when validating an invoice: before returned 200 + text message, now returns an invoice object
2017-10-02 10:55:34 +02:00
Laurent Destailleur
934edd9f5a
Merge branch 'develop' into 6.0-api
2017-09-24 22:01:07 +02:00
Laurent Destailleur
ddefdd12fb
Merge pull request #7460 from dvasseur/develop
...
FIX: REST API, date field not used for invoices creation
2017-09-24 21:56:41 +02:00
Neil Orley
9498fca5e1
Add of implementation notes with an exemple
2017-09-22 12:24:42 +02:00
Neil Orley
1aedc4a793
Change the term 'order' by 'invoice'
2017-09-22 12:18:11 +02:00
Neil Orley
ad6778a1cf
NEW post lines of an invoice using the REST API
...
Adds the ability to post a new lins in an invoice using the REST API
2017-09-22 12:08:11 +02:00
Neil Orley
f985b1ede6
NEW GET lines of an invoice in the REST API
...
Adds the ability to get lines of an invoice using the REST API
2017-09-22 12:00:54 +02:00
David
9dab694bb0
FIX: REST API, date field not used for invoices creation
2017-09-21 17:48:12 +02:00
Laurent Destailleur
60493d0a47
Several fixes (permission, missing method or class) in REST APIs
2017-07-28 11:03:30 +02:00
Regis Houssin
5c5663c5ae
New: getEntity function use true $shared value by default
2017-05-30 18:50:54 +02:00
Laurent Destailleur
f5e29d6c86
Fix phpcs warning
2017-05-22 10:45:02 +02:00
Laurent Destailleur
9e44eb0d15
Fix return code REST similar for all api with POST
2016-12-23 02:08:22 +01:00
Laurent Destailleur
49f5ec6b52
Fix bugs reported by scrutinizer
2016-12-07 19:12:25 +01:00