Xero Invoice API - invoice

I need to sync invoice from my application to xero portal for that i had used invoice api which provided by Xero.
Invoice API URL : https://api.xero.com/api.xro/2.0/Invoices
In xero invoice api tax and discount parameter available for lineitem (invoice item), but no option of tax and discount for order so, my application'invoice have tax and discount on full order.
can anyone help me how can i sync tax and discount on full order in xero invoice api ?
For reference i have attached xero invoice api parameter image.

Related

Pricing for the SubscribedSkus in Microsoft Graph

Is there any way for getting the Pricing for the SubscribedSkus in Microsoft Graph Api ,Like Billing Details how much a seat cost and date of the subscription took place.
I tried with Azure rest api but giving the Azure billing details but needed for the o365 billing Details like the plans we took while purchasing it
A bill is associated with the Azure subscription of the Azure Synapse or Azure Data Factory you are using. The price in this new billing model is based on the number of Microsoft Graph objects that you are accessing. For more information about billing : https://azure.microsoft.com/en-us/pricing/details/graph-data-connect/

how to get price of an in app purchase item on my server using product id

I have a receipt verification server. iOS application sends me the receipt, I validate the receipt using Apple's api, and I return a json with the required fields for the app. In the process if the user's subscription is started, I want to log that subscription with the price of the product. However I do not have the information for the price in the receipt. I just have product id. Is there an API for me to just ask Apple for the price of a given product id?
Thanks in advance
If you have access to AppStoreConnect for your application, you can use the AppStoreConnect API to drill down to prices for product IDs, it requires you to set up a shared secret to make use of the API:
https://developer.apple.com/documentation/appstoreconnectapi
I am facing the same problem. AppStore api does not provide prices for products or not even provide prices for Tiers.
But you can get the price of the products from your client end. So on the client-side, when a purchase is successful, post the product's price and transactionId. This way you can match the transactionId and know the price of that sale. But you have to be aware of the price differences. SKProduct only gives you localized price, so your obtained info from client will be localized. You have to convert them to the same currency to have a meaningful result.

Code - 3140, Message - There is an invalid reference to QuickBooks Item Sales Tax "GST" in the Invoice

I am working on a Sync application for Quickbooks Desktop using QBFC so the problem is with Quickbooks Desktop Enterprise 16 CANADA EDITION.
It is working perfectly for Quickbooks Desktop US editions.
Severity - Error, Code - 3140, Message - There is an invalid reference to QuickBooks Item Sales Tax "GST" in the Invoice.
The customer has already a sales tax named "GST" in Quickbooks but I am seeing something which might be the cause of problem i.e. Sales Tax Codes are not "Tax" and "Non". There are some other kinds of Tax codes but I also created Tax and Non in the customer's Quickbooks too but the error still persists.
Any help will be appreciated as it is already creating so much problem in account for the customer.
The customer has already a sales tax named "GST" in Quickbooks
The customer probably should not have this.
but I am seeing something which might be the cause of problem
You're sending an ItemSalesTaxRef, and you shouldn't be.
Sales Tax Codes are not "Tax" and "Non".
Good! You should NOT see a TAX or NON tax code for QuickBooks Canada.
also created Tax and Non in the customer's Quickbooks
You shouldn't have.
TLDR:
Taxes work differently in CA vs. US
Don't send ItemSalesTaxRef for Canadian companies
Do send the appropriate tax code for each line item (usually something like GST or G or E depending on what province they are in, and what the taxable status of the item is)

Quickbooks Desktop api get sales tax rates with corresponding sales tax code

I am working on an app in which I need to fetch Sales Tax Rate with its corresponding sales tax code. For example, in my quickbooks instance I have Sales Tax Code as 'G' with Sales Tax Rate being '5%' . Similiarly I have 'HST' as Sales Tax Rate being '13%' and so on. These can be added or modified in future. So I need to export them from Quickbooks to save them to my PHP MYSQL database table.
But I cannot find a relationship between them in the Quickbooks Desktop API (OSR) which I am refering to. Please help. Thanks in advance.
Unfortunately, the QuickBooks desktop SDK does not expose the relationship between Sales Tax Codes and Sales Tax Items (tax rates).

Intuit PaymentNetwork metadata for invoice payment page

QuickBooks Online offers the option to enable payments for invoice using the Intuit PaymentNetwork. Having signed up for Intuit PaymentNetwork, the option appears on the QBO invoice edit page. If checked, emailed invoices will include a secret URL taking the customer to a page where they can pay the invoice.
Is it possible to reconstruct this URL from information provided through the IPP DataServices API?
No, this URL is not available through the IDS API's.

Resources