A Kaufman
A Kaufman

Reputation: 55

How to pull invoice number from PNR

I am trying to retrieve the invoice number of a PNR from the Sabre API. Can anyone advise the correct API to use?

Thank you,

Upvotes: 1

Views: 805

Answers (1)

drtrobridge
drtrobridge

Reputation: 429

I believe you can use the TravelItineraryHistoryLLSRQ API or the getReservationRQ to gather invoice numbers on all accounting lines. If using the getReservationRQ API, take a look at the fields in the documentation related to InvoiceData.

If you are more familiar with reading native Sabre responses you could also use the SabreCommandLLSRQ API with the entry "*HAC" to bring back a list of all of the historical accounting lines and accompanying invoice numbers, but that gets a little difficult to parse out.

Upvotes: 1

Related Questions