sdk - qbfc/qbxml ReceivePaymentAdd assign Payment to Invoice -



sdk - qbfc/qbxml ReceivePaymentAdd assign Payment to Invoice -

when seek associate payment invoice, next error:

receivepaymentadd orapplypayment: or object has multiple values end of orapplypayment end of receivepaymentadd

what error mean? how work?

note pushing invoice quickbooks in separate session, cannot utilize macros. if utilize isautoapply true without appliedtotxnadd block, payment pushes fine.

here generated xml:

<?xml version="1.0" encoding="utf-8"?> <?qbxml version="10.0"?> <qbxml> <qbxmlmsgsrq onerror = "continueonerror"> <receivepaymentaddrq requestid = "0"> <receivepaymentadd> <customerref> <listid>8000003f-1415364262</listid> </customerref> <araccountref> <fullname>accounts receivable</fullname> </araccountref> <txndate>2014-02-14</txndate> <refnumber>1003 - p1</refnumber> <totalamount>850.00</totalamount> <paymentmethodref> <fullname>20 - check</fullname> </paymentmethodref> <memo/> <isautoapply>0</isautoapply> <appliedtotxnadd> <txnid>c7-1415364350</txnid> <paymentamount>850.00</paymentamount> </appliedtotxnadd> </receivepaymentadd> </receivepaymentaddrq> </qbxmlmsgsrq> </qbxml>

this:

orapplypayment: or object has multiple values end of orapplypayment

means specification (see quickbooks osr) specifies can utilize either appliedtotxnadd or can utilize isautoapply, may not utilize both of them. can utilize one, or other.

you're using both, you're getting error message. either remove <isautoapply> or remove <appliedtotxnadd> tag.

here's illustration you:

http://consolibyte.com/wiki/doku.php/quickbooks_qbxml_receivepaymentadd

http://consolibyte.com/wiki/doku.php/quickbooks

sdk quickbooks qbxml qbfc

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -