2
0
forked from Wavyzz/dolibarr

Add of implementation notes with an exemple

This commit is contained in:
Neil Orley
2017-09-22 12:24:42 +02:00
parent 1aedc4a793
commit 9498fca5e1

View File

@@ -277,7 +277,7 @@ class Invoices extends DolibarrApi
}
/**
* Get lines of an invoice
* Get lines of a given invoice
*
* @param int $id Id of invoice
*
@@ -307,7 +307,9 @@ class Invoices extends DolibarrApi
}
/**
* Add a line to given invoice
* Add a line to a given invoice
*
* Exemple of POST query : { "desc": "Desc", "subprice": "1.00000000", "qty": "1", "tva_tx": "20.000", "localtax1_tx": "0.000", "localtax2_tx": "0.000", "fk_product": "1", "remise_percent": "0", "date_start": "", "date_end": "", "fk_code_ventilation": 0, "info_bits": "0", "fk_remise_except": null, "product_type": "1", "rang": "-1", "special_code": "0", "fk_parent_line": null, "fk_fournprice": null, "pa_ht": "0.00000000", "label": "", "array_options": [], "situation_percent": "100", "fk_prev_id": null, "fk_unit": null }
*
* @param int $id Id of invoice
* @param array $request_data Invoiceline data