Topic: How to set terms?

How can I set the terms for a new invoice?

$Invoice->setTerms(1);

Does not give an error, but does not set terms either...

Re: How to set terms?

QuickBooks ONLINE, or QuickBooks DESKTOP?

Have you looked at the documentation for either and searched for "terms"?

Re: How to set terms?

Online, and I can never find anything useful in the documentation...

Re: How to set terms?

If you look at the documentation:
https://developer.intuit.com/docs/api/a … ng/Invoice

You'll see a section labeled:

SalesTermRef:    ReferenceType, filterable
Reference to the sales term associated with the transaction. Query the Term name list resource to determine the appropriate Term object to reference here.

There's a corresponding method, named the same thing, that you can use to set the terms:

$Invoice->setSalesTermRef($id_value);

You'll see it to the Terms.Id value of the Terms you want the invoice to use.

Re: How to set terms?

Thank you!, but its not setting the terms, or errors.
Heres the last request:

REDACTED
    <SalesTermsRef>1</SalesTermsRef>
REDACTED

But if I look at the last response,

<SalesTermsRef>1</SalesTermsRef>

is not there!
please help!

Last edited by andynazay153 (2016-05-17 16:48:11)

Re: How to set terms?

Please post the full last request AND last response. We can not help you without that.

Re: How to set terms?

Also, it's:

SalesTermRef

Not:

SalesTermsRef

Re: How to set terms?

Well I used setSalesTermRef()

Re: How to set terms?

consolibyte wrote:

Please post the full last request AND last response. We can not help you without that.

Re: How to set terms?

Here's the last request:

REDACTED
    <SalesTermsRef>1</SalesTermsRef>
REDACTED
</Invoice>

HTTP/1.1 100 Continue

Last response:

REDACTED

Last edited by andynazay153 (2016-05-17 16:47:33)

Re: How to set terms?

Nevermind, fixed it by removing the s...funny how it did not show an error though.

Re: How to set terms?

Amoxicillin Standard Dose   Doxycycline For Sale Adverse Effects With Keflex Diltiazem Super Priligy

Re: How to set terms?

Amoxicillin Standard Dose   Doxycycline For Sale Adverse Effects With Keflex Diltiazem Super Priligy

Re: How to set terms?

Dove Comprare Viagra Cialis How To Get Zithromax  cialis cheapest online prices Propecia Impotenza

Re: How to set terms?

Buy Viagra Online Australia  best price on levitra Viagra Wirkung Prostata Cheap Viagra Pe Canadian Drug Without Rx

Re: How to set terms?

Scatola Viagra Cialis Tiene Efectos Secundarios Clomid Admis  online pharmacy Cialis In Bangkok Comprare Viagra Senza Ricetta Trazodone Buy Online In United States

Re: How to set terms?

Propecia Le Prix Propecia Magistrale Priligy Dapoxetin Gunstig Kaufen   Amoxicillin Causes Tinnutis Propecia To Increase Facial Hair

Re: How to set terms?

Acheter Cytotec Pharmacie  canadian cialis Cialis For Slae Cheap Nolvadex Dosage For Gyno Cialis A Largo Plazo

Re: How to set terms?

Levitra Generic  viagra sildenafil dosis Cialis Que Dosis Tomar

Re: How to set terms?

Buy Orlistat Usa No Prescription  viagra Propecia Long Term Effectiveness

Re: How to set terms?

Buy Orlistat Usa No Prescription  viagra Propecia Long Term Effectiveness

Re: How to set terms?

Fraternal twins are actually more common than identical twins over three-quarters of all twins are fraternal. nolvadex

Re: How to set terms?

tadalafil cialis After surgery, your doctor can adjust the plan if you need more relief

Re: How to set terms?

Increased plasma fatty acid clearance, not fatty acid concentration, is associated with muscle insulin resistance in people with obesity buy cialis 10mg erythromycin stearate increases levels of rifaximin by P glycoprotein MDR1 efflux transporter