Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit cc211e6

Browse files
committed
add write-off method to API
1 parent 2e06702 commit cc211e6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Billogram/Api/Objects/BillogramObject.php

+11
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,15 @@ public function attachPdf($filepath)
254254

255255
return $this->performEvent('attach', array('filename' => $filename, 'content' => base64_encode($content)));
256256
}
257+
258+
/**
259+
* Write-off remaining fees from a billogram.
260+
*
261+
* @return $this
262+
*/
263+
public function writeOff()
264+
{
265+
return $this->performEvent('writeoff');
266+
}
267+
257268
}

0 commit comments

Comments
 (0)