Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8576825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:00:56+00:00 2026-06-11T20:00:56+00:00

We are developing the travel website, which is used to book the flight, hotel,

  • 0

We are developing the travel website, which is used to book the flight, hotel, car etc. It’s product based software. The client (who buys our software) will become a ‘Main agency’. His total transactions will be in INR (Indian rupee currency). And total flight, hotel or car bookings are done in ‘INR’ only.

Now he has permission to create his ‘sub-agency’. The sub-agency currency may be in USD or INR etc. This means the ‘Main agency’ may have its sub-agencies through out the world. Now whenever the ‘sub-agency’ is logged in, his transaction reports should be in his currency. If his currency is ‘AUD’, the total transactions should be in ‘AUD’ only. While creating sub-agency we fix his currency, whether he belongs to USD or AUD or AED etc. It’s fixed.

When ever ‘sub-agency’ generates the ticket (in AUD), this transaction is also displayed in the main agency transaction reports. Here is where the actual problem is arising. For the ‘sub-agency’, the report should be in ‘AUD’, and for main agency it should be in ‘INR’. The main agency is ready to bear the Currency conversions profit/losses. But the ‘Sub agency’ should not lose/gain.

We are storing the ‘sub-agency’ deposits with ‘Main agency’ in his currency (USD/AUD), and when he is logged in we are displaying the fares in USD/AUD. After booking it we are deducting that amount from his available balance. But when it comes to reports, we have to display these transactions in two ways. For the main agency it should be in INR, and for sub-agents it should be his currency (USD/INR).

I have few solutions but those makes my development complicated. I am expecting better solution.

One of my solution is, while storing the transactions, storing the currency conversion rate also with ‘INR’. Now converting that to ‘INR’ with that currency conversion rate. Is it good solution?

Example : Sub agency does a ‘2.00 USD’ transaction. While storing it, add currency conversion rate also as a column into table. For example, ‘1 USD = 55 INR’. While displaying it calculate 2*55, and display it as 110 INR in main agency report.

Please suggest any better solution for this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:00:57+00:00Added an answer on June 11, 2026 at 8:00 pm

    Calculations with multiple currencies are great fun. If you want an interesting historical note, look up ‘euro triangulation’ on your favourite search engine.

    Somewhere along the line, you have to record a currency conversion rate to be used. You can choose many different techniques, and they’ll all produce slightly different answers:

    • Best quoted exchange rate available at time of transaction.
    • A quote exchange rate for the day (stored in a table of daily conversion rates, rather than per transaction).
    • A monthly average exchange rate collected from source, or calculated from a source of daily rates.
    • An exchange rate entered by the receptionist from information in a newspaper each day.

    Note that agencies have buy and sell rates; the difference between these (the spread) represents their margin on the deals.

    In my experience (which is now 20 years out of date — predating the world-wide web), a daily rate is used in daily reports, and the daily rates are munged to create an average monthly rate used in the monthly reports.

    But, of necessity, you will somewhere record the exchange rate to be used with each transaction, either with the transaction or in some separate table that can be cross-referenced according to the rules you choose to use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are developing travel application for booking flight, bus tickets etc. For the flight
I've been developing a travel planning site - tripgrep.com - which is built on
I am developing an online travel guide with a lot of hotels. Each hotel
I am developing a generic logging object which will be used within all of
I am developing a travels related website using cakephp. I have to put some
I am developing one small app in which i have multiple NSURLConnection.I have created
developing iphone app, I have used a UIImageview and i have set an image
I am developing simple travel agent android application. When application starts it loads list
Developing an iPad website I tried to use the CSS property overflow: auto to
I'm developing a web application that deals with travel. I want to be able

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.