How to get details (unit, quantity, price) from XTRF customer invoice API? - invoice

We are using the Customer Invoice Api, but we can'n get the details of the jobs, as unit, quantity and price. Only the "totalAgreed", that is the amount already calculated (quantity * price) of the job. How can we recovery this information?
Project.json and invoice.json do not brint this information.

You can use the Browser API from XTRF. This way, you first create a view within XTRF where all the information is present. Then you execute the Browser API with the Customer Invoice ID as a filter.

Related

Send "Total Vat Amount" with Invoice and Description from my database to Xero account

I am using "Invoice PUT method" to store invoice details from server to Xero account.
Is there any way to import "Total Vat Amount" with Invoice and Description?
Because some of my old invoice are not include Vat amount.
I have found a tag "TaxAmount". Is it same as Vat amount? If yes, then how can I use "TaxAmount" in Invoice PUT method.
Thanks.
Yes, VAT is equal to tax.
In Xero API, TotalTax is a read-only value thus cannot be used with PUT. However, you can use TaxAmount to insert the tax calculation.
Notes:
TaxAmount is normally used to insert your own tax calculation. If the TaxAmount is not used, Xero will automatically calculates its value from the default tax rate of the nominal/account code.
Xero calculates taxes for each line item(s). Thus if your invoice only a single line item, the TaxAmount = TotalTax

QBXML Item Sales Tax vs VAT

Hi I'm having an infuriating problem with QuickBooks UK. I am doing an InvoidceAddRq and sending ItemSalesTaxRef:FullName. I have "EGS" in my Item List as a VAT item. I also have EGS in my VAT code list after creating an item for testing. I cannot get it to post as it says:
'There is an invalid reference to QuickBooks Item Sales Tax "EGS" in the Invoice.
QuickBooks UK doesn't use Sales Tax - it uses VAT - nowhere can I find to enter a Sales Tax other than VAT. What do I need to do here to get my invoice posting?
Use the below sample code for sales tax
<SalesTaxCodeRef>
<FullName>Standard Sales</FullName>
</SalesTaxCodeRef>
For non-US versions of QuickBooks for Windows, you do not use ItemSalesTaxRef at all.
Instead, you just use SalesTaxCodeRef.
You should be specifying SalesTaxCodeRef for every single line item. Do not specify ItemSalesTaxRef at all.

Dates in stripe customer properties

I am not sure what format the current_period_start current_period_end fields are in when stripe returns me a customer object. I am trying to show my user when their next billing date is after they have subscribed to one of my plans. How are we supposed to parse these values?

QBFC Billadd Transaction

I have an application that interfaces with QuickBooks and I am using the BILLADD transaction. The application pulls bill transactions from another data base and updates quickbooks. The billadd transactions that we are pushing to quickbooks have several expense lines. Some of the expense lines are negative(credits) to the vendor. I can manually enter a negative number on a new bill, but the get an error when trying to do it programmatically.
Can anyone tell me if it is possible to do this with billadd or do I need a different transaction type to add the credits?
Scott
As long as the total of the bill is not negative, you should be able to add negative expenses. If you need to enter a negative bill, you would need to enter it as a IVendorCreditAddRq. I tested it with adding a bill with -10, +100, and -50 line expenses and was able to save it without a problem.
Could you post your request and the response you are getting?

jBilling Error: An Invoice could not be generated

When I want to generate an invoice to an order following error is displayed:
"There has been an error:
An Invoice could not be generated. The purchase order does not have any applicable periods to be invoiced.
Verify the data of the purchase order or contact customer service to review your business rules."
I disabled pro-rating and I set following settings to plug-ins:
Invoice presentation
com.sapienter.jbilling.server.pluggableTask.InvoiceCompositionTask
Billing process: order periods calculation
com.sapienter.jbilling.server.pluggableTask.OrderPeriodTask
It is not working yet. Any Idea? help me quickly please.
Thanks a lot.
when you create order, you will see period filed on order screen which is one time or monthly.
select one time and try to create order. if you select monthly then only one invoice will create for that order because it is recurring order and then next bill set to next month.
if you want to create invoice again for same order then try to manage billing proces to next invoice date or update next bill date to curent month in purchase order table.

Resources