我正在研究Django / Python项目,其中包括Quick Book Payment的集成,我正在使用mysql数据库存储记录, 现在,通过我的代码,我可以成功创建完整的qbxml文件以进行销售。 我想在quickbook-desktop中导入该文件/数据以生成销售收据。 我只需要一个人来指导我如何将qbxml的数据导入quickbook-desktop pro
这是生成的qbxml文件
<?xml version="1.0" ?>
<?qbxml version="4.0"?>
<QBXML>
<QBXMLMsgsRq onError="continueOnError">
<SalesReceiptAddRq requestID="100004">
<SalesReceiptAdd>
<CustomerRef>
<FullName>(Web)</FullName>
</CustomerRef>
<TemplateRef>
<FullName>Web Sales Receipt</FullName>
</TemplateRef>
<TxnDate>Aug. 6, 2019</TxnDate>
<RefNumber>I-100004</RefNumber>
<SalesReceiptLineAdd>
<ItemRef>
<FullName>Palm Tree</FullName>
</ItemRef>
<Desc>Moon Necklace</Desc>
<Quantity>3</Quantity>
<Rate>1.00</Rate>
<Amount>3.00</Amount>
<SalesTaxCodeRef>
<FullName>Tax</FullName>
</SalesTaxCodeRef>
</SalesReceiptLineAdd>
<SalesReceiptLineAdd>
<ItemRef>
<FullName>Sun Face</FullName>
</ItemRef>
<Desc>Moon Necklace</Desc>
<Quantity>4</Quantity>
<Rate>1.00</Rate>
<Amount>3.00</Amount>
<SalesTaxCodeRef>
<FullName>Tax</FullName>
</SalesTaxCodeRef>
</SalesReceiptLineAdd>
<SalesReceiptLineAdd>
<!-- blank line -->
</SalesReceiptLineAdd>
<SalesReceiptLineAdd>
<ItemRef>
<FullName>Shipping</FullName>
</ItemRef>
<Desc>Shipping and handling</Desc>
<Amount>4.5 </Amount>
<SalesTaxCodeRef>
<FullName>Non</FullName>
</SalesTaxCodeRef>
</SalesReceiptLineAdd>
<SalesReceiptLineAdd>
<!-- blank line -->
</SalesReceiptLineAdd>
<SalesReceiptLineAdd>
<Desc>11.5 was charged to a credit card</Desc>
</SalesReceiptLineAdd>
</SalesReceiptAdd>
</SalesReceiptAddRq>
我想将生成的qbxml文件导入quickbook-desktop进行销售