src/Web/Service.php
public function getInvoicePdfUri($token, $applyGraphics = true)
    {
        $uri = $this->communicator->getUri('invoices/invoice_get_pdf');
        $uri .= "?token=$token";
        if (!$applyGraphics) {
            $uri .= '&gfx=0';
        }
        return $uri;
    }
public function getInvoicePdfUri($token, $applyGraphics = true)
    {
        $uri = $this->communicator->getUri('invoices/invoice_get_pdf');
        $uri .= "?token=$token";
        if (!$applyGraphics) {
            $uri .= '&gfx=0';
        }
        return $uri;
    }
public function getInvoicePdfUri ( $ token , $ applyGraphics = true ) { $ uri = $ this -> communicator -> getUri ( 'invoices/invoice_get_pdf' ) ; $ uri .= "?token=$token" ; if ( ! $ applyGraphics ) { $ uri .= '&gfx=0' ; } return $ uri ; }
Returns the uri to download the invoice PDF.

@param string $token
The token for the invoice.
@param bool $applyGraphics
False to prevent any embedded graphics from being applied to the
document, true otherwise.

@return string
The uri to download the invoice PDF.
Possible errors (in download, not in return value):
- "PDFATNF04: Requested invoice for $token not found": $token does not
exist.

@see https://siel.nl/acumulus/API/Invoicing/Get_PDF_Invoice/
Returns the uri to download the invoice PDF .