Create retention (draft)
Retentions
Create retention (draft)
POST
Create retention (draft)
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Body
application/json
Withholding-tax document issued against a supplier.
Supplier ID.
Retention document type.
Available options:
%, $ Response
Retention created.
Withholding-tax document issued against a supplier.
Supplier ID.
Retention document type.
Available options:
%, $ Available options:
draft, finalized, cancelled 