Skip to main content

Update Invoice

Update invoice payload using below description.

Path Parameters
invoice_no string REQUIRED

Invoice number which will be updated

Request Body

Insert Invoice request

transaction_type string

Possible values: [normal, re-issue]

Transaction type for the invoice.

invoice_type string

Possible values: [X, C, B]

Type of invoicing

invoice_date date

Invoice Date, FORMAT : YYYY-MM-DD

crs_code string

Possible values: [AM, SB, 1G, 6E, SG, GO, G8, AA, OT]

CRS ID

client_account_code string

Client Account Code

airline_account_code string

Airline Account Code

sub_ledger_type string

Possible values: [client, airline, supplier, general]

SUB-Ledger Account Type

sub_ledger_code string

SUB-Ledger Account Code

narration_5 string

Narration

booking_ref_no string

Booking reference number from which API will be called

pnr string

PNR

fareBasis string

Fare basis code

dealCode string

Deal Code

remark string

Remarks

travellers object[]
title string

Possible values: [Mr, Mrs]

Title of traveller

type string

Possible values: [ADT, CHD, INF]

Type of traveller

name string

Name of traveller

ticket_no string

Ticket number

isConjuction boolean

True if traveller has conjuction sector

supplier_account_code string

Booking Supplier code, If Invoice type is B, then send BSP code. If Invoice type is X, then send '' (Blank). If Invoice type is C, send the code of supplier on which ticket was issued.

pay_type string

Possible values: [, OUR_CC, AGENT_CC]

Payment type.

credit_card_account_code string

Possible values: [, OUR_CC, AGENT_CC]

If payment type is OUR_CC , then send Account Code of card number from supplier.

fare object

Fare break of traveller

total number

Total Fare

base number

Basic Amount

YQ number

YQ Amount

YR number

YR Amount

K3 number

K3 Amount

OT number

OT Amount

OC number

OC Amount

ssr object[]

SSR of traveller

seat object
code string
amount string
meal object
code string
amount string
baggage object
code string
amount string
ancillary object
code string
amount string
additionalBaggage object
code string
amount string
commission object
client object
iata_type string
iata_value string
iata_amount string
plb_type string
plb_value string
plb_amount string
cashback_type string
cashback_value string
cashback_amount string
supplier object
iata_type string
iata_value string
iata_amount string
plb_type string
plb_value string
plb_amount string
cashback_type string
cashback_value string
cashback_amount string
service_charge object
client object
sc1_type string

Possible values: [T]

sc1_value string
sc2_type string

Possible values: [N, BASE, YQ, YR, K3, OT, OC]

sc2_value string
sc3_type string

Possible values: [N, BASE, YQ, YR, K3, OT, OC]

sc3_value string
supplier object
sc1_type string

Possible values: [T]

sc1_value string
sc2_type string

Possible values: [N]

sc2_value string
sc3_type string

Possible values: [N]

sc3_value string
dis_recall object
client object
dis_recall_type string
dis_recall_value number
dis_recall_amount string
supplier object
dis_recall_type string
dis_recall_value number
dis_recall_amount string
legs object[]
airline_code string

Airline 2ltr Code

flight_no string

Flight No.

service_class string

Booking service class

departure_airport_code string

Departure Airport IATA CODE

departure_airport_terminal string

Departure Airport terminal

departure_date_time datetime

Departure Date & Time

arrival_airport_code string

Arrival Airport IATA CODE

arrival_airport_terminal string

Arrival Airport terminal

arrival_date_time datetime

Arrival Date & Time

cabin_baggage string

cabin-baggage

checkin_baggabe string

Check-in baggage

airline_pnr string

Check-in baggage

Responses
200

Success

Schema OPTIONAL
invoice_no string OPTIONAL

Invoice number

transaction_type string OPTIONAL

Possible values: [normal, re-issue]

Transaction type for the invoice.

invoice_type string OPTIONAL

Possible values: [X, C, B]

Type of invoicing

invoice_date date OPTIONAL

Invoice Date, FORMAT : YYYY-MM-DD

crs_code string OPTIONAL

Possible values: [WEBSITE, 1A, 1G]

CRS ID

client_account_code string OPTIONAL

Client Account Code

airline_account_code string OPTIONAL

Airline Account Code

sub_ledger_type string OPTIONAL

Possible values: [client, airline, supplier, general]

SUB-Ledger Account Type

sub_ledger_code string OPTIONAL

SUB-Ledger Account Code

narration_1 string OPTIONAL

Narration

narration_2 string OPTIONAL

Narration

narration_3 string OPTIONAL

Narration

narration_4 string OPTIONAL

Narration

narration_5 string OPTIONAL

Narration

booking_ref_no string OPTIONAL

Booking reference number from which API will be called

pnr string OPTIONAL

PNR

fareBasis string OPTIONAL

Fare basis code

dealCode string OPTIONAL

Deal Code

remark string OPTIONAL

Remarks

travellers object[] OPTIONAL
title string OPTIONAL

Possible values: [Mr, Mrs]

Title of traveller

type string OPTIONAL

Possible values: [ADT, CHD, INF]

Type of traveller

name string OPTIONAL

Name of traveller

ticket_no string OPTIONAL

Ticket number

isConjuction boolean OPTIONAL

True if traveller has conjuction sector

supplier_account_code string OPTIONAL

Booking Supplier code, If Invoice type is B, then send BSP code. If Invoice type is X, then send '' (Blank). If Invoice type is C, send the code of supplier on which ticket was issued.

pay_type string OPTIONAL

Possible values: [, OUR_CC, AGENT_CC]

Payment type.

credit_card_account_code string OPTIONAL

Possible values: [, OUR_CC, AGENT_CC]

If payment type is OUR_CC , then send Account Code of card number from supplier.

fare object OPTIONAL

Fare break of traveller

total number OPTIONAL

Total Fare

base number OPTIONAL

Basic Amount

YQ number OPTIONAL

YQ Amount

YR number OPTIONAL

YR Amount

K3 number OPTIONAL

K3 Amount

OT number OPTIONAL

OT Amount

OC number OPTIONAL

OC Amount

ssr object[] OPTIONAL

SSR of traveller

seat object OPTIONAL
code string OPTIONAL
amount string OPTIONAL
meal object OPTIONAL
code string OPTIONAL
amount string OPTIONAL
baggage object OPTIONAL
code string OPTIONAL
amount string OPTIONAL
ancillary object OPTIONAL
code string OPTIONAL
amount string OPTIONAL
additionalBaggage object OPTIONAL
code string OPTIONAL
amount string OPTIONAL
commission object OPTIONAL
client object OPTIONAL
iata_type string OPTIONAL
iata_value string OPTIONAL
iata_amount string OPTIONAL
plb_type string OPTIONAL
plb_value string OPTIONAL
plb_amount string OPTIONAL
cashback_type string OPTIONAL
cashback_value string OPTIONAL
cashback_amount string OPTIONAL
supplier object OPTIONAL
iata_type string OPTIONAL
iata_value string OPTIONAL
iata_amount string OPTIONAL
plb_type string OPTIONAL
plb_value string OPTIONAL
plb_amount string OPTIONAL
cashback_type string OPTIONAL
cashback_value string OPTIONAL
cashback_amount string OPTIONAL
service_charge object OPTIONAL
client object OPTIONAL
sc1_type string OPTIONAL

Possible values: [T]

sc1_value string OPTIONAL
sc2_type string OPTIONAL

Possible values: [N, BASE, YQ, YR, K3, OT, OC]

sc2_value string OPTIONAL
sc3_type string OPTIONAL

Possible values: [N, BASE, YQ, YR, K3, OT, OC]

sc3_value string OPTIONAL
supplier object OPTIONAL
sc1_type string OPTIONAL

Possible values: [T]

sc1_value string OPTIONAL
sc2_type string OPTIONAL

Possible values: [N]

sc2_value string OPTIONAL
sc3_type string OPTIONAL

Possible values: [N]

sc3_value string OPTIONAL
dis_recall object OPTIONAL
client object OPTIONAL
dis_recall_type string OPTIONAL
dis_recall_value number OPTIONAL
dis_recall_amount string OPTIONAL
supplier object OPTIONAL
dis_recall_type string OPTIONAL
dis_recall_value number OPTIONAL
dis_recall_amount string OPTIONAL
legs object[] OPTIONAL
airline_code string OPTIONAL

Airline 2ltr Code

flight_no string OPTIONAL

Flight No.

service_class string OPTIONAL

Booking service class

departure_airport_code string OPTIONAL

Departure Airport IATA CODE

departure_airport_terminal string OPTIONAL

Departure Airport terminal

departure_date_time datetime OPTIONAL

Departure Date & Time

arrival_airport_code string OPTIONAL

Arrival Airport IATA CODE

arrival_airport_terminal string OPTIONAL

Arrival Airport terminal

arrival_date_time datetime OPTIONAL

Arrival Date & Time

cabin_baggage string OPTIONAL

cabin-baggage

checkin_baggabe string OPTIONAL

Check-in baggage

airline_pnr string OPTIONAL

Check-in baggage

400

Failed to save

404

Not found