Only non-invoiced delivery notes returned via API, but API test page shows invoiced ones too #536
Unanswered
baristezel
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Hello @baristezel, I remain available for any further questions Thanks, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm using the Fattura in Cloud PHP SDK (fattureincloud-php-sdk.phar) and trying to retrieve all delivery notes (DDT), including those that have already been invoiced.
Here is the code I'm using:
$type = IssuedDocumentType::DELIVERY_NOTE; // Delivery Notes için document type
$per_page = 100;
......
However, this returns only non-invoiced delivery notes.
Surprisingly, when I test the same request using the API Reference page, I receive both invoiced and non-invoiced delivery notes as expected.
I’ve already tried setting the inclusive parameter to true (1), but that didn’t help. Is there anything else I need to pass in the SDK version to get all DDTs, including those already invoiced?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions