dolibarr 21.0.0-alpha
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 Array result

Definition at line 246 of file server_supplier_invoice.php.

References $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 Array result

Definition at line 351 of file server_supplier_invoice.php.

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