diff --git a/Billogram/Api/Objects/BillogramObject.php b/Billogram/Api/Objects/BillogramObject.php index 8d42b68..e994263 100644 --- a/Billogram/Api/Objects/BillogramObject.php +++ b/Billogram/Api/Objects/BillogramObject.php @@ -254,4 +254,15 @@ public function attachPdf($filepath) return $this->performEvent('attach', array('filename' => $filename, 'content' => base64_encode($content))); } + + /** + * Write-off remaining fees from a billogram. + * + * @return $this + */ + public function writeOff() + { + return $this->performEvent('writeoff'); + } + }