[Zoho Invoice] Addresses

[Zoho Invoice] Addresses

It would be helpful to refactor Addresses in your services (specifically/e.g.: Zoho Invoice Customer Details)


So that the address elements in the Response are more obviously typed as Address. I think this would improve the clarity of your service(s) and it would help with the (de)serialization.

E.g. The service currently returns:

 <BillingAddress>B-1104, 11F, Horizon International Tower, No. 6, ZhiChun Road, HaiDian District,</BillingAddress> <BillingCity>Beijing</BillingCity> </BillingState> <BillingZip>100088</BillingZip> <BillingCountry>China</BillingCountry> <BillingFax>+86-10-82637827</BillingFax> <ShippingAddress>4900 Hopyard Rd, Suit 310</ShippingAddress> <ShippingCity>Pleasanton</ShippingCity> <ShippingState>CA</ShippingState> <ShippingZip>94588</ShippingZip> <ShippingCountry>USA</ShippingCountry> <ShippingFax>+1-925-924-9600</ShippingFax>
I think it would be better like this:

<BillingAddress>
      <Address></Address>
      <City></City>
      <State></State>
      <Zip></Zip>
      <Country></Country>
</BillingAddress>
<ShippingAddress>
      <Address></Address>
      <City></City>
      <State></State>
      <Zip></Zip>
      <Country></Country>
</ShippingAddress>

In our code, both types would be more easily represented as derived from the same type 'Address'. 


      • Sticky Posts

      • Zoho Invoice Will Soon Discontinue Support for Older Browser Versions

        Hello users, Starting from May 15, 2024, Zoho Invoice will no longer support the following browser versions: Browsers Version Restrictions Firefox Browser Versions older than 100 Google Chrome Versions older than 100 Microsoft Edge Versions older than
      • Bulk Printing now available in Zoho Invoice

        Hello, We are happy to announce the much requested and much awaited feature in Zoho Invoice - Bulk Printing of Estimates and Invoices. All you need to do is, select the invoices you wish to print and then click the 'Print' button. All the invoices will be downloaded as a single PDF file which can be printed as you wish. You can print upto 25 invoices at a single go. Go ahead and give it a shot and let us know how it worked for you. Regards, Reshma   
      • Introducing the iPhone App for Zoho Invoice

        Now you can invoice on the go from your iPhone through the Zoho Invoice iPhone app. Our iPhone app is available at the apps store for download. The app is special in more ways than one: An impeccable UI takes your invoicing experience to a whole new level That's a first native app we've come up with It's available for FREE!!!!! Yeah, absolutely Free. No brainer there, we just wanted to make our users to enjoy the app no strings attachedHere some snapshots of the app: For the real experience, head