An invoice can be forwarded directly to your accountant's accounting package. This is only possible if a link via CodaBox, ClearFacts, Exact Online, Yuki or e-mail accountant has been set up.
An invoice can only be forwarded to the accountant 1x.
To do this, use the POST method with, for example, /api/v1/invoices/1001?send_accountant as a URL.
An example in PHP how to send an invoice to your accountant:
$email = 'luc@mymail.com'; $password = '123456'; $p = curl_init('https://app.simplybooks.be/api/v1/invoices/1001?send_accountant'); curl_setopt($p, CURLOPT_USERPWD, $email . ':' . $password); curl_setopt($p, CURLOPT_POST, 1); curl_setopt($p, CURLOPT_RETURNTRANSFER, TRUE); $result_in_xml_string = curl_exec($p);