php-twinfield / twinfield

PHP 7.3+ Library for using the Twinfield API.
https://accounting.twinfield.com/webservices/documentation/#/
Other
33 stars 77 forks source link

send multiple objects to twinfield #196

Open MGB-85 opened 3 years ago

MGB-85 commented 3 years ago

Hello,

is there an example of send multiple objects in one batch?

gelderblominternet commented 2 years ago

If you still need it:

$transactionFactory = new TransactionApiConnector($connection);
$transactionFactory->sendAll($transactions);

I'm not sure if all other Factory classes have this option, but the transaction factory does.