Accounting scripts V1
Create accounting script V1
Create an accounting script.
Refer to the How to create accounting script guide for more information.
post/v1/accounting-scripts
Request
- Base URLhttps://sandbox.pismolabs.io/passport
- URLhttps://sandbox.pismolabs.io/passport/v1/accounting-scripts
- Authnone declared
Request body
Example request
{
"cost_center": {
"debit_org": "999999",
"credit_org": "999999",
"debit_cost": "999999",
"credit_cost": "999999",
"deactivated_at": "2021-10-10T10:10:00.000Z"
}
}Response
OK
Example response
{
"credit_accounting": {
"id": 1,
"description": "SAMPLE ACCOUNT",
"account": "123123132-x",
"program_id": 12,
"created_at": "2021-10-10T10:10:00.000Z"
},
"cost_center": {
"debit_org": "999999",
"credit_org": "999999",
"debit_cost": "999999",
"credit_cost": "999999",
"deactivated_at": "2021-10-10T10:10:00.000Z"
},
"debit_accounting": {
"id": 1,
"description": "SAMPLE ACCOUNT",
"account": "123123132-x",
"program_id": 12,
"created_at": "2021-10-10T10:10:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.