LedgerLinePostings
Reverse a LedgerLinePosting
Use this endpoint to reverse a LedgerLinePosting. This action does not automatically attempt to post the new LedgerLinePosting to any integrations.
post/shop/ledger-line-postings/{ledgerLinePostingId}/reverse
Response
The request to reverse a LedgerLinePosting was received
Example response
{
"data": {
"created_at": "2023-05-05T11:38:29+01:00",
"integration": "guestline_rezlynx",
"integration_name": "Guestline",
"payable": {
"reference": "TRY00",
"description": "dan@example.com"
},
"causer": {
"reference": "TRY00"
},
"last_error_at": "2023-05-05T11:39:21+01:00",
"succeeded_at": "2023-05-05T11:39:21+01:00",
"lines": [
{
"gross_amount": 10000,
"net_amount": 8333,
"description": "Trybe Cash payment [TRY3Z] Jane Jenkins",
"revenue_centre": "spa",
"revenue_centre_name": "Spa",
"payment_processor": "manual",
"payment_processor_friendly": "Manual (Cash)",
"mapped_value": "trybe_spa_revenue",
"ledger_date": "2023-04-02T00:00:00+01:00",
"currency": "gbp",
"payable": {
"reference": "TRY00",
"description": "dan@example.com"
},
"causer": {
"reference": "TRY00"
},
"created_at": "2023-05-05T11:38:29+01:00"
}
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.