{"action":"closed","issue":{"url":"https://api.github.com/repos/picqer/exact-php-client/issues/171","repository_url":"https://api.github.com/repos/picqer/exact-php-client","labels_url":"https://api.github.com/repos/picqer/exact-php-client/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/picqer/exact-php-client/issues/171/comments","events_url":"https://api.github.com/repos/picqer/exact-php-client/issues/171/events","html_url":"https://github.com/picqer/exact-php-client/issues/171","id":254577600,"number":171,"title":"SalesInvoice - InvoiceNumber is NULL on save()","user":{"login":"sefaYavuz","id":7534379,"avatar_url":"https://avatars3.githubusercontent.com/u/7534379?v=4","gravatar_id":"","url":"https://api.github.com/users/sefaYavuz","html_url":"https://github.com/sefaYavuz","followers_url":"https://api.github.com/users/sefaYavuz/followers","following_url":"https://api.github.com/users/sefaYavuz/following{/other_user}","gists_url":"https://api.github.com/users/sefaYavuz/gists{/gist_id}","starred_url":"https://api.github.com/users/sefaYavuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sefaYavuz/subscriptions","organizations_url":"https://api.github.com/users/sefaYavuz/orgs","repos_url":"https://api.github.com/users/sefaYavuz/repos","events_url":"https://api.github.com/users/sefaYavuz/events{/privacy}","received_events_url":"https://api.github.com/users/sefaYavuz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-01T08:55:14Z","updated_at":"2017-09-08T10:19:21Z","closed_at":"2017-09-08T10:19:21Z","author_association":"NONE","body":"I've created a sales invoice. Like so:\r\n\r\n```\r\n$salesInvoice = new \\Picqer\\Financials\\Exact\\SalesInvoice($connection);\r\n$salesInvoice->InvoiceTo = $exactCustomer->exact_id;\r\n$salesInvoice->OrderedBy = $exactCustomer->exact_id;\r\n$salesInvoice->OrderNumber = $invoice->po_number;\r\n$salesInvoice->Description = $invoice->description;\r\n$salesInvoice->SalesInvoiceLines = $itemsArr;\r\n$salesInvoice->Journal = 70;\r\n$salesInvoice->Type = 8020;\r\n$salesInvoice->save();\r\n```\r\n\r\nBut when I look in to Exact, the field for the invoice number is empty?"}}
{"actor":{"display_login":"sefaYavuz"}}