Error while adding client through sdk

Creating Client and Invoice

Hi,

Thanks for reporting this!

cc @david

hey @harshil

are you trying to communicate with v4 or v5?

I’m communicating with the v5

@harshil,

I’m not sure how you are pulling in the package, but you have pulled in the v4 SDK not the v5.

if you run composer require invoiceninja/sdk-php

it will pull in v5.

if you are cloning from the repo you’ll want to checkout the main branch.