Skip to main content

Content Services for Rail - Report Billing Days

Rail
Reporting
REST API
Travel Agency
Try Now

What is it?

This method generates a billing report for a specific day.

Why use it?

Use this method to get a billing report for a specific day.

How it works

  1. 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.

  2. All report details are returned in a structured format, including the following information:
    • Report criteria with reportType and fromDate and toDate
    • Sales statistics with agencyAccountNumber and channelBalances
    • channelBalances contains information about channel and balances
    • balances contains billing statistics and a list of tickets for a specific operation type

Caution: Consuming this API and its content requires special permission. Before requesting access please 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 please visit the respective product page on Sabre Central.

How to use

Method

GET /v1/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)