moneybird-php-client icon indicating copy to clipboard operation
moneybird-php-client copied to clipboard

Notes not working when adding notes to an salesInvoice

Open luukverhoeven opened this issue 2 years ago • 1 comments

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 avatar Sep 08 '22 20:09 luukverhoeven

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

luukverhoeven avatar Oct 03 '22 10:10 luukverhoeven