Journals
Resets a journal.
Returns journal to Draft status, clearing processing state and allowing re-upload or modification.
post/public/v1/billing/journals/{id}/reset
Request
- Base URL: https://api.platform.softwareone.com
- URL: https://api.platform.softwareone.com/public/v1/billing/journals/{id}/reset
- Auth: none declared
Path parameters
idstring required
The ID of the journal to reset.
Request body
Example request
{
"id": "BJO-1234-1234",
"name": "29 Nov 2024 #1",
"description": "Monthly revenue journal entry",
"externalIds": {
"operations": "OPS-12345",
"vendor": "VND-67890"
},
"notes": "Includes adjustments for Q1 2025",
"dueDate": "2025-05-15T23:59:59+00:00",
"price": {
"markup": 15.5,
"margin": 20,
"totalPP": 1000,
"totalBP": 1100,
"totalBSP": 1200
},
"upload": {
"total": 100,
"split": 10,
"ready": 85,
"error": 5
},
"processing": {
"total": 100,
"ready": 80,
"error": 5,
"split": 10,
"skipped": 5,
"ignored": 2
},
"error": {
"errorCode": "ERR-001",
"errorMessage": "Invalid billing data provided.",
"id": "12345",
"message": "Failed to process the billing entity due to missing data."
}
}Response
OK
Example response
{
"id": "BJO-1234-1234",
"name": "29 Nov 2024 #1",
"description": "Monthly revenue journal entry",
"externalIds": {
"operations": "OPS-12345",
"vendor": "VND-67890"
},
"notes": "Includes adjustments for Q1 2025",
"dueDate": "2025-05-15T23:59:59+00:00",
"price": {
"markup": 15.5,
"margin": 20,
"totalPP": 1000,
"totalBP": 1100,
"totalBSP": 1200
},
"upload": {
"total": 100,
"split": 10,
"ready": 85,
"error": 5
},
"processing": {
"total": 100,
"ready": 80,
"error": 5,
"split": 10,
"skipped": 5,
"ignored": 2
},
"error": {
"errorCode": "ERR-001",
"errorMessage": "Invalid billing data provided.",
"id": "12345",
"message": "Failed to process the billing entity due to missing data."
}
}Changes
No recorded changes to this operation across all 1 revision of this API.