{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Accounting systems","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"accounting-systems","__idx":0},"children":["Accounting systems"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," is the recommended webhook for accounting integrations."," ","It provides the financial detail needed to validate transactions and update your accounting ledger at the individual booking level."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"event-flow","__idx":1},"children":["Event flow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following table describes a typical accounting system workflow using the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/webhookeventapi/webhooks/paths/pnr_v3/post"},"children":["PNR_V3"]}," webhook:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Step"},"children":["Step"]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"Operation"},"children":["Operation "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Action and next steps"},"children":["Action and next steps"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_TICKETED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A booking is ticketed and payment method is charged."," ","Your system validates the financial data and posts the transaction to a general ledger as a revenue recognition entry."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVOICE_GENERATED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An invoice PDF has been generated for the booking."," ","Your system can use this to retrieve and archive the invoice document for audit trails and compliance records."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TICKET_VOIDED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The traveler cancels within the void period."," ","Your system reverses the original ledger entry before the transaction is fully settled."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TICKET_REFUNDED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A refund is issued. Your system posts a revenue reversal entry to the general ledger."]}]}]}]}]}]},"headings":[{"value":"Accounting systems","id":"accounting-systems","depth":1},{"value":"Event flow","id":"event-flow","depth":2}],"frontmatter":{"seo":{"title":"Accounting systems"}},"lastModified":"2026-03-11T17:17:12.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/webhooks/integration-patterns/accounting","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}