Created
April 30, 2015 21:04
-
-
Save r38y/423d9fdcf93807319a6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<?qbxml version="7.0"?> | |
<QBXML> | |
<QBXMLMsgsRq onError="continueOnError"> | |
<BillAddRq> | |
<BillAdd> | |
<VendorRef> | |
<ListID>80000438-1429823956</ListID> | |
</VendorRef> | |
<ItemLineAdd> | |
<Desc>Some line item</Desc> | |
<Quantity>2</Quantity> | |
<Cost>123.45</Cost> | |
<Amount>246.9</Amount> | |
</ItemLineAdd> | |
</BillAdd> | |
</BillAddRq> | |
</QBXMLMsgsRq> | |
</QBXML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<QBXML> | |
<QBXMLMsgsRs> | |
<BillAddRs statusCode="3040" statusSeverity="Error" statusMessage="There was an error when converting the amount "246.9" in the field "Amount". " /> | |
</QBXMLMsgsRs> | |
</QBXML> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need to pass 246.9 in QBXML request, it will automatically calculate on the basis of cost and quantity.