- Create a journal record
Creates a journal record.
Journal record resource.
ID of the journal entry.
ID of the invoice item.
Amount of revenue estimated to be recognized at the schedule date. This value is ignored when updating a journal record with a type of automated.
ID of the debit journal account.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/journal-records
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/journal-records
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/journal-records
- SecretApiKey
- JWT
curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/journal-records \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"journalEntryId": "jrn_ent_01JXJ8EF9WVR0W187QZ6WF5703",
"invoiceItemId": "ii_0YVFDEQS2KCFTBN9HXWJFY55GV",
"estimatedAmount": 0,
"recognizedAmount": 0,
"debitAccountId": "jrn_acc_01JXJ8S97PTMYX8W01SQ72FSWC",
"creditAccountId": "jrn_acc_01JXJ8RW7AWMVAH7DP3VXYQC1W"
}'Journal record created.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the journal entry.
ID of the customer.
ID of the invoice item.
Amount of revenue estimated to be recognized at the schedule date. This value is ignored when updating a journal record with a type of automated.
ID of the debit journal account.
ID of the credit journal account.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
{ "id": "jrn_rec_0YVCXV2HE5DBT89QV7RXSJEZQ4", "journalEntryId": "jrn_ent_01JXJ8EF9WVR0W187QZ6WF5703", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "invoiceId": "in_0YVF9605RKC62BP14NE2R7V2XT", "invoiceItemId": "ii_0YVFDEQS2KCFTBN9HXWJFY55GV", "type": "automated", "estimatedAmount": 0, "recognizedAmount": 0, "debitAccountId": "jrn_acc_01JXJ8S97PTMYX8W01SQ72FSWC", "creditAccountId": "jrn_acc_01JXJ8RW7AWMVAH7DP3VXYQC1W", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_embedded": { "customer": {}, "invoice": {}, "invoiceItem": {}, "debitAccount": {}, "creditAccount": {}, "journalEntry": {} }, "_links": [ { … } ] }