Skip to main content
POST
Create Voucher
Plain Signature

Authorizations

Authorization
string
header
required

Generate a JWT signed with the client_secret and include the client_id as a claim in its payload.

A-Signature
string
header
required

Generate the signature by creating an SHA256-HMAC hash from the plain signature above, using the signature_secret as the key. Then, Base64-encode the resulting hash and place the final value in the A-Signature header.

A-Data
string
header
required

Include the email and tenant_id in the payload as Base64 encoded.

Body

application/json

Voucher detail

document_date
string<date-time>
required
Example:

"20/08/2025"

bank_code
string
required
Example:

"BCA"

bank_account_number
string
required
Example:

"1234567890"

bank_account_name
string
required
Example:

"Rekening Sukses Sejahtera"

total_amount
number
required
Example:

20000

category_code
string
required
Example:

"UK01"

description
string
Example:

"Pencatatan Penerimaan Hutang Usaha"

Response

Voucher created successfully

status
string
Example:

"00"

message
string
Example:

"success"

data
object