crichavin
crichavin

Reputation: 4572

Intuit IPP QBO API Overwriting Customer's Default Tax Code when sending TaxCodeRef on Invoice

Anyone know if this is a bug? Or if the way I am passing the tax code ref on the invoice is the issue?

Here is my Invoice creation XML that I post to the API:

<?xml version="1.0"?>
<Invoice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schema.intuit.com/finance/v3">
  <CustomField>
    <DefinitionId>1</DefinitionId>
    <Type>StringType</Type>
    <StringValue>15129</StringValue>
  </CustomField>
  <CustomField>
    <DefinitionId>2</DefinitionId>
    <Type>StringType</Type>
    <StringValue>13553</StringValue>
  </CustomField>
  <DocNumber>9316-O</DocNumber>
  <TxnDate>2016-05-12-06:00</TxnDate>
  <PrivateNote>15129 / Acme </PrivateNote>
  <Line>
    <LineNum>1</LineNum>
    <Description>Project: Acme </Description>
    <DetailType>DescriptionOnly</DetailType>
  </Line>
  <Line>
    <LineNum>2</LineNum>
    <Description>Part: 74827 - 8 ea. Down Rod and link 810 x 23 of:
1" x .25 wall alum. tubing;
Zinc plated R hand Threaded Clevis ;
Zinc plated L hand Threaded Clevis ;;

Part: 74830 - 8 ea. Down Rod and link 944 x 27.4375 of:
1" x .25 wall alum. tubing;
Zinc plated R hand Threaded Clevis ;
Zinc plated L hand Threaded Clevis ;;

Part: 74829 - 4 ea. Down Rod and link 943 x 24.8125 of:
1" x .25 wall alum. tubing;
Zinc plated R hand Threaded Clevis ;
Zinc plated L hand Threaded Clevis ;;

Part: 74831 - 20 ea. Link x 7.7 of:
Aluminum Mill 5052 .250Ga.;;

</Description>
    <Amount>1387.63000000</Amount>
    <DetailType>SalesItemLineDetail</DetailType>
    <SalesItemLineDetail>
      <ItemRef>19</ItemRef>
      <Qty>1</Qty>
      <TaxCodeRef>TAX</TaxCodeRef>
    </SalesItemLineDetail>
  </Line>
  <TxnTaxDetail>
    <TxnTaxCodeRef>5</TxnTaxCodeRef>
  </TxnTaxDetail>
  <CustomerRef>423</CustomerRef>
  <PrintStatus>NeedToPrint</PrintStatus>
  <EmailStatus>NeedToSend</EmailStatus>
  <BillEmail>
    <Address>[email protected]</Address>
  </BillEmail>
</Invoice>

UPDATE 1:

Upvotes: 0

Views: 330

Answers (1)

Related Questions