What is it?
This method is used to generate the billing report for a specific day.
Why use it?
Use this method to get the billing report for a specific day.
How it works
-
Send a request to the Rail vendor system to get a daily billing report for a currently logged user.
Note: The request can be sent at any time to get the most current billing report.
- All report details are returned in a structured format, including the following information:
- Report criteria with
reportType
andfromDate
andtoDate
- Sales statistics with
agencyAccountNumber
andchannelBalances
channelBalances
contains information aboutchannel
andbalances
balances
contains billing statistics and a list of tickets for a specific operation type
- Report criteria with
Caution: Consuming this API and its content requires special permission. Before requesting access, make sure you have all the necessary agreements in place with the rail vendor(s) you would like to sell using Content Services for Rail. For more information on accessing Sabre Rail content and rail supplier contacts, visit the respective product page on Sabre Central.
How to use
Method
GET /v2/rail/reports/billings/{marketingCarrierCode}/days/{date}
Request
Provide the correct marketing carrier code.
date
should be in the format YYYY-MM-DD. For example, 2222-02-22.
Note: You can only request reports from a few days in the past with this method.
Response
Returns the billing report information for a specific day.
Ticket Status
The returned ticketStatus
object can contain the following values:
- ANNULLED
- RES
- TKT
- CNX (Cancelled)
- RFD (Refunded)
- DEFERRED
- EXCHANGED
- OTH (Other)