latestOpenAPI 3.0.02026-08-10233809957.8 KB
5cdfae3fa1fa
Journal Entries
Batch Update Journal Entries
Supported for:
quickbooks xero oracleNetsuite sageIntacct zohoBooks
put/v2/accounting/journalEntries/batch
Request body
Example request
{
"connectionUuid": "CON-396d5daa-26b2-4979-89b6-cafb2c298155",
"batch": [
{
"currencyRate": 1.13,
"postedDate": "2021-03-09",
"memo": "Services rendered.",
"currency": "CAD",
"subsidiaryRefs": [
{
"id": "4"
}
],
"journalRef": {
"id": "4040"
},
"createdDate": "2021-03-09T10:18:29.985Z",
"journalNumber": "1857648",
"lines": [
{
"description": "Journal Entry description.",
"accountRef": {
"id": "200"
},
"trackingCategoryRefs": [
{
"id": "4040",
"type": "class"
}
],
"entityRef": {
"type": "customer",
"id": "130"
},
"taxRateRef": {
"id": "12"
},
"debit": 100.3,
"credit": 100.3,
"id": "1"
}
],
"passThrough": {
"CustomField": [
{
"DefinitionId": "1",
"StringValue": "my custom value",
"Name": "Field One"
}
]
}
}
]
}Response
Example response
{
"connectionUuid": "CON-396d5daa-26b2-4979-89b6-cafb2c298155",
"businessName": "Railz",
"serviceName": "xero",
"batchId": "60473b57f0cdd1683ca71f60",
"batch": [
{
"pushCommunicationId": "60473b57f0cdd1683ca71f60",
"requestedOn": "2021-03-09T08:15:22.035Z",
"status": "pending",
"data": {
"currencyRate": 1.13,
"postedDate": "2021-03-09",
"memo": "Services rendered.",
"currency": "CAD",
"subsidiaryRefs": [
{
"id": "4"
}
],
"journalRef": {
"id": "4040"
},
"createdDate": "2021-03-09T10:18:29.985Z",
"journalNumber": "1857648",
"lines": [
{
"description": "Journal Entry description.",
"accountRef": {
"id": "200"
},
"trackingCategoryRefs": [
{
"id": "4040",
"type": "class"
}
],
"entityRef": {
"type": "customer",
"id": "130"
},
"taxRateRef": {
"id": "12"
},
"debit": 100.3,
"credit": 100.3,
"id": "1"
}
],
"passThrough": {
"CustomField": [
{
"DefinitionId": "1",
"StringValue": "my custom value",
"Name": "Field One"
}
]
}
}
}
]
}