Accounting entry created
This event occurs when the platform creates an accounting entry based on the accounting script configuration.
Generated by: Create accounting entry
More information: Create accounting entries
Type: object
Domain: accounting
Event: entry_creation
Version: 1
transaction_id required
Description: Transaction ID of the accounting entry
Type: integer
Example:
15335085
account_id required
Description: Account ID of the accounting entry
Type: integer
Example:
1000001
created_at required
Description: Creation date and time in ISO 8601 of the accounting entry
Type: string
Format: date-time
Example:
2020-07-06T05:09:33Z
event_date required
Description: Event date in ISO 8601 (yyyy-mm-dd)
Type: string
Format: date
Example:
2020-07-06
amount required
Description: Total amount of the accounting entry
Type: number
Example:
240.48
program_id required
Description: Program ID of the accounting entry
Type: integer
Example:
252
debit_account required
Description: Debit account of the accounting entry
Type: string
Example:
1000002
credit_account required
Description: Credit account of the accounting entry
Type: string
Example:
1000003
description required
Description: Description of the accounting entry
Type: string
Example:
ENCARGOS ROTATIVO
entry_type_id required
Description: Entry type of the accounting entry
Type: integer
Example:
2020
accounting_event_id required
Description: Event ID of the accounting entry
Type: integer
Example:
15335085
accounting_entry_id required
Description: Unique ID of the accounting entry
Type: integer
Example:
15335085
credit_cost_center required
Description: Credit cost center of the accounting entry
Type: string or null
Example:
2000003
debit_cost_center required
Description: Debit cost center of the accounting entry
Type: string or null
Example:
2000003
authorization_date
Description: Authorization date in ISO 8601 (yyyy-mm-dd)
Type: string or null
Format: date
Example:
2020-07-06
installment_number
Description: Sequential number that represents the order of the installment. The ordering starts with 1.
Type: integer or null
Example:
1
12
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Accounting entry created",
"description": "This event occurs when the platform creates an accounting entry based on the accounting script configuration.<br>Generated by: <a href='https://developers.pismo.io/pismo-docs/reference/createaccountingentry' target='_blank'>Create accounting entry</a> <br>More information: <a href='https://developers.pismo.io/pismo-docs/docs/create-accounting-entries' target='_blank'>Create accounting entries</a>",
"properties": {
"transaction_id": {
"type": "integer",
"description": "Transaction ID of the accounting entry",
"examples": [
15335085
]
},
"account_id": {
"type": "integer",
"description": "Account ID of the accounting entry",
"examples": [
1000001
]
},
"created_at": {
"type": "string",
"description": "Creation date and time in ISO 8601 of the accounting entry",
"format": "date-time",
"examples": [
"2020-07-06T05:09:33Z"
]
},
"event_date": {
"type": "string",
"description": "Event date in ISO 8601 (yyyy-mm-dd)",
"format": "date",
"examples": [
"2020-07-06"
]
},
"amount": {
"type": "number",
"description": "Total amount of the accounting entry",
"examples": [
240.48
]
},
"program_id": {
"type": "integer",
"description": "Program ID of the accounting entry",
"examples": [
252
]
},
"debit_account": {
"type": "string",
"description": "Debit account of the accounting entry",
"examples": [
1000002
]
},
"credit_account": {
"type": "string",
"description": "Credit account of the accounting entry",
"examples": [
1000003
]
},
"description": {
"type": "string",
"description": "Description of the accounting entry",
"examples": [
"ENCARGOS ROTATIVO"
]
},
"entry_type_id": {
"type": "integer",
"description": "Entry type of the accounting entry",
"examples": [
2020
]
},
"accounting_event_id": {
"type": "integer",
"description": "Event ID of the accounting entry",
"examples": [
15335085
]
},
"accounting_entry_id": {
"type": "integer",
"description": "Unique ID of the accounting entry",
"examples": [
15335085
]
},
"credit_cost_center": {
"type": [
"string",
"null"
],
"description": "Credit cost center of the accounting entry",
"examples": [
2000003
]
},
"debit_cost_center": {
"type": [
"string",
"null"
],
"description": "Debit cost center of the accounting entry",
"examples": [
2000003
]
},
"authorization_date": {
"type": [
"string",
"null"
],
"description": "Authorization date in ISO 8601 (yyyy-mm-dd)",
"format": "date",
"examples": [
"2020-07-06"
]
},
"installment_number": {
"type": [
"integer",
"null"
],
"description": "Sequential number that represents the order of the installment. The ordering starts with 1.",
"minimum": 0,
"maximum": 2147483647,
"examples": [
1,
12
]
}
},
"required": [
"transaction_id",
"account_id",
"created_at",
"event_date",
"program_id",
"amount",
"debit_account",
"credit_account",
"description",
"entry_type_id",
"accounting_event_id",
"accounting_entry_id",
"credit_cost_center",
"debit_cost_center"
]
}
{
"transaction_id": 15335085,
"account_id": 1000001,
"created_at": "2020-07-06T05:09:33Z",
"event_date": "2020-07-06",
"amount": 240.48,
"program_id": 252,
"debit_account": 1000002,
"credit_account": 1000003,
"description": "ENCARGOS ROTATIVO",
"entry_type_id": 2020,
"accounting_event_id": 15335085,
"accounting_entry_id": 15335085,
"credit_cost_center": 2000003,
"debit_cost_center": 2000003,
"authorization_date": "2020-07-06",
"installment_number": 1
}
Updated 6 days ago