diff --git a/src/Qbil/Client.php b/src/Qbil/Client.php index db06ef1..bb6076b 100644 --- a/src/Qbil/Client.php +++ b/src/Qbil/Client.php @@ -187,7 +187,7 @@ public function getProcessedInvoice(Document $document) * * @throws \GuzzleHttp\Exception\GuzzleException */ - public function setDocumentStatus(Document $document, $status) + public function setDocumentStatus(Document $document, $status, $message = null) { return json_decode( $this @@ -197,7 +197,7 @@ public function setDocumentStatus(Document $document, $status) [ 'json' => [ 'Status' => $status, - 'Message' => null, + 'Message' => $message, 'CodingLines' => null, 'CorrelationData' => null, 'ExternalId' => null,