Skip to content

Commit

Permalink
Merge pull request #4 from rapideinternet/issue/set_message_reference…
Browse files Browse the repository at this point in the history
…_supplier_vat

fix: set messageId to true
  • Loading branch information
agneshoving authored Oct 25, 2024
2 parents 21eee97 + 01e31c6 commit 7626ce3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Services/DeclarationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function vatReturnXbrl($documentId)

return $this->GetVatReturnAsXbrl([
'documentId' => $documentId,
'isMessageIdRequired' => false // If set to True the MessageReferenceSupplierICT element will be filled in.
'isMessageIdRequired' => true // If set to True the MessageReferenceSupplierVAT element will be filled in. Which is required for sending the item to logius
]);
}

Expand All @@ -79,7 +79,7 @@ public function icpReturnXbrl($documentId)

return $this->GetIctReturnAsXbrl([ // is this a typo? should it be icpReturnXbrl?
'documentId' => $documentId,
'isMessageIdRequired' => false // If set to True the MessageReferenceSupplierICT element will be filled in.
'isMessageIdRequired' => true // If set to True the MessageReferenceSupplierVAT element will be filled in. Which is required for sending the item to logius
]);
}

Expand Down Expand Up @@ -110,4 +110,4 @@ public function setSent($documentId)
'documentId' => $documentId
]);
}
}
}

0 comments on commit 7626ce3

Please sign in to comment.