Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes not working when adding notes to an salesInvoice #270

Open
luukverhoeven opened this issue Sep 8, 2022 · 1 comment
Open

Notes not working when adding notes to an salesInvoice #270

luukverhoeven opened this issue Sep 8, 2022 · 1 comment

Comments

@luukverhoeven
Copy link

When I create a sales Invoice with the properties described below, the notes aren't added to the invoice, Is this a known issue?
The SalesInvoiceDetail works correct and the invoice is also created in Moneybird.

Thanks in advance!

[contact_id] => 351382917812847762
  [reference] => Test
  [workflow_id] => 351383061528577168
  [state] => open
  [notes] => Array
      (
          [0] => Picqer\Financials\Moneybird\Entities\Note Object
              (
                  [id] =>
                  [note] => Test
                  [todo] =>
                  [assignee_id] =>
              )

      )

  [details] => Array
      (
          [0] => Picqer\Financials\Moneybird\Entities\SalesInvoiceDetail Object
              (
                  [id] =>
                  [tax_rate_id] =>
                  [ledger_account_id] =>
                  [amount] => 1
                  [amount_decimal] =>
                  [description] => Test
                  [period] =>
                  [price] => 77.50
                  [row_order] =>
                  [total_price_excl_tax_with_discount] =>
                  [total_price_excl_tax_with_discount_base] =>
                  [tax_report_reference] =>
                  [created_at] =>
                  [updated_at] =>
                  [product_id] =>
                  [project_id] =>
                  [_destroy] =>
              )

      )
@luukverhoeven
Copy link
Author

Does anyone have an idea about this problem and how I can solve it? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant