Get a single journal entry by its ID. Returns the postings, references, and supporting documents required to sync the entry to an external accounting integration.
curl -i -X GET \
'https://api.understory.io/v1/accounting-journal-entries/{journalEntryId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
Supporting documents (e.g. customer receipts) referenced by URL.
The kind of journal entry. Drives the bookkeeping treatment in the external accounting system, and discriminates the variant.
The kind also decides whether the entry's posting amounts include VAT — see amount on a posting.
Timestamp of when the underlying business event occurred. Drives which accounting period this entry is booked into.
The orders this journal entry derives from. A single order for most kinds; several for REVENUE_RECOGNITION entries that aggregate an event's bookings into one entry.
The postings that make up the entry. Sum of debits equals sum of credits.
The system that processed the transaction that produced this journal entry
UNDERSTORY_PAY- Understory's own payment offering.STRIPE- Stripe.PAYPAL- PayPal.QUICKPAY- QuickPay.GIFTCARD- payment redeemed against a gift card balance.PUNCHCARD- payment redeemed against a punch card balance.EXTERNAL- payment was received in another system and marked as paid within Understory.
- SALE
- REFUND
- REVENUE_RECOGNITION
- BREAKAGE
- ADJUSTMENT
- REVENUE_RECOGNITION_REVERSAL
{ "id": "string", "kind": "SALE", "order_ids": [ "string" ], "origin": "UNDERSTORY_PAY", "occurred_at": "2019-08-24T14:15:22Z", "postings": [ { … } ], "documents": [ { … } ], "transaction_id": "string" }