|
dolibarr
13.0.2
|
File that is entry point to call Dolibarr WebServices. More...
Go to the source code of this file.
Functions | |
| getInvoice ($authentication, $id= '', $ref= '', $ref_ext= '') | |
| Get invoice from id, ref or ref_ext. More... | |
| getInvoicesForThirdParty ($authentication, $idthirdparty) | |
| Get list of invoices for third party. More... | |
| createInvoice ($authentication, $invoice) | |
| Create an invoice. More... | |
| createInvoiceFromOrder ($authentication, $id_order= '', $ref_order= '', $ref_ext_order= '') | |
| Create an invoice from an order. More... | |
| updateInvoice ($authentication, $invoice) | |
| Uddate an invoice, only change the state of an invoice. More... | |
File that is entry point to call Dolibarr WebServices.
Definition in file server_invoice.php.
| createInvoice | ( | $authentication, | |
| $invoice | |||
| ) |
Create an invoice.
| array | $authentication | Array of authentication information |
| array | $invoice | Invoice |
Definition at line 534 of file server_invoice.php.
References check_authentication(), dol_now(), dol_stringtotime(), dol_syslog(), Facture\STATUS_DRAFT, and Facture\STATUS_VALIDATED.
| createInvoiceFromOrder | ( | $authentication, | |
$id_order = '', |
|||
$ref_order = '', |
|||
$ref_ext_order = '' |
|||
| ) |
Create an invoice from an order.
| array | $authentication | Array of authentication information |
| string | $id_order | id of order to copy invoice from |
| string | $ref_order | ref of order to copy invoice from |
| string | $ref_ext_order | ref_ext of order to copy invoice from |
Definition at line 652 of file server_invoice.php.
References check_authentication(), and dol_syslog().
| getInvoice | ( | $authentication, | |
$id = '', |
|||
$ref = '', |
|||
$ref_ext = '' |
|||
| ) |
Get invoice from id, ref or ref_ext.
| array | $authentication | Array of authentication information |
| int | $id | Id |
| string | $ref | Ref |
| string | $ref_ext | Ref_ext |
Definition at line 289 of file server_invoice.php.
References check_authentication(), dol_htmlcleanlastbr(), dol_print_date(), and dol_syslog().
| getInvoicesForThirdParty | ( | $authentication, | |
| $idthirdparty | |||
| ) |
Get list of invoices for third party.
| array | $authentication | Array of authentication information |
| int | $idthirdparty | Id thirdparty |
Definition at line 400 of file server_invoice.php.
References $resql, check_authentication(), dol_print_date(), and dol_syslog().
| updateInvoice | ( | $authentication, | |
| $invoice | |||
| ) |
Uddate an invoice, only change the state of an invoice.
| array | $authentication | Array of authentication information |
| Facture | $invoice | Invoice |
Definition at line 731 of file server_invoice.php.
References check_authentication(), dol_syslog(), Facture\STATUS_ABANDONED, Facture\STATUS_CLOSED, Facture\STATUS_DRAFT, and Facture\STATUS_VALIDATED.