dolibarr 21.0.0-beta
server_supplier_invoice.php File Reference

File that is entry point to call Dolibarr WebServices. More...

Go to the source code of this file.

Functions

 getSupplierInvoice ($authentication, $id=0, $ref='', $ref_ext='')
 Get invoice from id, ref or ref_ext.
 
 getSupplierInvoicesForThirdParty ($authentication, $idthirdparty)
 Get list of invoices for third party.
 

Detailed Description

File that is entry point to call Dolibarr WebServices.

Definition in file server_supplier_invoice.php.

Function Documentation

◆ getSupplierInvoice()

getSupplierInvoice ( $authentication,
$id = 0,
$ref = '',
$ref_ext = '' )

Get invoice from id, ref or ref_ext.

Parameters
array{login:string,password:string,entity:?int,dolibarrkey:string}$authentication Array of authentication information
int$idId
string$refRef
string$ref_extRef_ext
Returns
array{result:array{result_code:string,result_label:string}} Array result

Definition at line 251 of file server_supplier_invoice.php.

References $conf, $id, check_authentication(), dol_print_date(), and dol_syslog().

◆ getSupplierInvoicesForThirdParty()

getSupplierInvoicesForThirdParty ( $authentication,
$idthirdparty )

Get list of invoices for third party.

Parameters
array{login:string,password:string,entity:?int,dolibarrkey:string}$authentication Array of authentication information
int$idthirdpartyId thirdparty
Returns
array{result:array{result_code:string,result_label:string}} Array result

Definition at line 356 of file server_supplier_invoice.php.

References $conf, check_authentication(), dol_htmlcleanlastbr(), dol_print_date(), and dol_syslog().