APIs to manage trips and PNRs.
One or more Invoice IDs being requested
TMC for which invoice is being requested. Deprecated in favor of invoiceIds.
curl -i -X POST \ https://developer.spotnana.com/_mock/openapi/tripapi/v2/invoicing/invoice-data \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "tmcId": "15c94ac1-f540-4916-9243-306a75fbd8a9", "invoiceNumbers": [ "string" ], "invoiceIds": [ "15c94ac1-f540-4916-9243-306a75fbd8a9" ] }'
OK
List of invoices which were requested.
Actual Data
Date in ISO 8601 standard.
Entity that sold the items mentioned in the invoice.
Name of seller, usually a TMC Legal Entity.
Address of seller.
Buyer of items mentioned in the invoice.
Address of buyer. Could be office, legal entity or org address.
Items being invoiced.
Number identifying the item, for ex, the ticket number for air ticket.
Type of item, indicates what type of item is being sold
Type of item, indicates if the item was purchased vs refunded.
Fare amount including base fare and tax.
Money object containing details such as the amount, the currency code, and the converted amount.
Tax breakdown for the invoice, this will be present for UK invoices with VAT
Information on how the items have been paid for.
Money object containing details such as the amount, the currency code, and the converted amount.
The numeric value for the amount of money.
The 3-letter currency code for the money amount (defined using ISO 4217 standard).
The converted currency and amount that has been converted (if a currency conversion has been requested). For example, if the call requests that money be sent in a specified currency (because the frontend requested the backend to send money in the user's preferred currency).
The 3-letter currency code for the converted currency (defined using ISO 4217 standard).
Mode of Payment shown on invoice.
An identifier for the payment instrument used. For example, last four credit card number digits in case a credit card was used.
Payment done via supported Spotnana payment types.
Type of product being invoiced
Fare amount including base fare and tax.
Money object containing details such as the amount, the currency code, and the converted amount.
The numeric value for the amount of money.
The 3-letter currency code for the money amount (defined using ISO 4217 standard).
The converted currency and amount that has been converted (if a currency conversion has been requested). For example, if the call requests that money be sent in a specified currency (because the frontend requested the backend to send money in the user's preferred currency).
The 3-letter currency code for the converted currency (defined using ISO 4217 standard).
Money object containing details such as the amount, the currency code, and the converted amount.
The numeric value for the amount of money.
The 3-letter currency code for the money amount (defined using ISO 4217 standard).
The converted currency and amount that has been converted (if a currency conversion has been requested). For example, if the call requests that money be sent in a specified currency (because the frontend requested the backend to send money in the user's preferred currency).
The 3-letter currency code for the converted currency (defined using ISO 4217 standard).
Tax breakdown for the invoice, this will be present for UK invoices with VAT
Reference Numbers to be shown on the invoice, for ex, Trip ID, PNR ID etc.
The region code for which the following invoicing information is applicable.
Type of document
{ "invoices": [ { … } ] }