Skip to content

Instantly share code, notes, and snippets.

@adamthedeveloper
Created June 5, 2014 23:38
Show Gist options
  • Save adamthedeveloper/6c08d6505159d8ede84d to your computer and use it in GitHub Desktop.
Save adamthedeveloper/6c08d6505159d8ede84d to your computer and use it in GitHub Desktop.
QB SalesReceiptAdd XML
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<SalesReceiptAddRq>
<SalesReceiptAdd defMacro="MACROTYPE"> <!-- required -->
<CustomerRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</CustomerRef>
<ClassRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ClassRef>
<TemplateRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</TemplateRef>
<TxnDate >DATETYPE</TxnDate> <!-- optional -->
<RefNumber >STRTYPE</RefNumber> <!-- optional -->
<BillAddress> <!-- optional -->
<Addr1 >STRTYPE</Addr1> <!-- optional -->
<Addr2 >STRTYPE</Addr2> <!-- optional -->
<Addr3 >STRTYPE</Addr3> <!-- optional -->
<Addr4 >STRTYPE</Addr4> <!-- optional -->
<Addr5 >STRTYPE</Addr5> <!-- optional -->
<City >STRTYPE</City> <!-- optional -->
<State >STRTYPE</State> <!-- optional -->
<PostalCode >STRTYPE</PostalCode> <!-- optional -->
<Country >STRTYPE</Country> <!-- optional -->
<Note >STRTYPE</Note> <!-- optional -->
</BillAddress>
<ShipAddress> <!-- optional -->
<Addr1 >STRTYPE</Addr1> <!-- optional -->
<Addr2 >STRTYPE</Addr2> <!-- optional -->
<Addr3 >STRTYPE</Addr3> <!-- optional -->
<Addr4 >STRTYPE</Addr4> <!-- optional -->
<Addr5 >STRTYPE</Addr5> <!-- optional -->
<City >STRTYPE</City> <!-- optional -->
<State >STRTYPE</State> <!-- optional -->
<PostalCode >STRTYPE</PostalCode> <!-- optional -->
<Country >STRTYPE</Country> <!-- optional -->
<Note >STRTYPE</Note> <!-- optional -->
</ShipAddress>
<IsPending >BOOLTYPE</IsPending> <!-- optional -->
<CheckNumber >STRTYPE</CheckNumber> <!-- optional -->
<PaymentMethodRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</PaymentMethodRef>
<DueDate >DATETYPE</DueDate> <!-- optional -->
<SalesRepRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</SalesRepRef>
<ShipDate >DATETYPE</ShipDate> <!-- optional -->
<ShipMethodRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ShipMethodRef>
<FOB >STRTYPE</FOB> <!-- optional -->
<ItemSalesTaxRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ItemSalesTaxRef>
<Memo >STRTYPE</Memo> <!-- optional -->
<CustomerMsgRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</CustomerMsgRef>
<IsToBePrinted >BOOLTYPE</IsToBePrinted> <!-- optional -->
<IsToBeEmailed >BOOLTYPE</IsToBeEmailed> <!-- optional -->
<CustomerSalesTaxCodeRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</CustomerSalesTaxCodeRef>
<DepositToAccountRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</DepositToAccountRef>
<CreditCardTxnInfo> <!-- optional -->
<CreditCardTxnInputInfo> <!-- required -->
<CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required -->
<ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required -->
<ExpirationYear >INTTYPE</ExpirationYear> <!-- required -->
<NameOnCard >STRTYPE</NameOnCard> <!-- required -->
<CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional -->
<CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional -->
<CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional -->
<!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent -->
<TransactionMode >ENUMTYPE</TransactionMode> <!-- optional -->
<!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization -->
<CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional -->
</CreditCardTxnInputInfo>
<CreditCardTxnResultInfo> <!-- required -->
<ResultCode >INTTYPE</ResultCode> <!-- required -->
<ResultMessage >STRTYPE</ResultMessage> <!-- required -->
<CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required -->
<MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required -->
<AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional -->
<!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable -->
<AVSStreet >ENUMTYPE</AVSStreet> <!-- optional -->
<!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable -->
<AVSZip >ENUMTYPE</AVSZip> <!-- optional -->
<!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable -->
<CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional -->
<ReconBatchID >STRTYPE</ReconBatchID> <!-- optional -->
<PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional -->
<!-- PaymentStatus may have one of the following values: Unknown, Completed -->
<PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required -->
<TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required -->
<TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional -->
<ClientTransID >STRTYPE</ClientTransID> <!-- optional -->
</CreditCardTxnResultInfo>
</CreditCardTxnInfo>
<Other >STRTYPE</Other> <!-- optional -->
<ExchangeRate >FLOATTYPE</ExchangeRate> <!-- optional -->
<ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional -->
<!-- BEGIN OR -->
<SalesReceiptLineAdd defMacro="MACROTYPE"> <!-- optional -->
<ItemRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ItemRef>
<Desc >STRTYPE</Desc> <!-- optional -->
<Quantity >QUANTYPE</Quantity> <!-- optional -->
<UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional -->
<!-- BEGIN OR -->
<Rate >PRICETYPE</Rate> <!-- optional -->
<!-- OR -->
<RatePercent >PERCENTTYPE</RatePercent> <!-- optional -->
<!-- OR -->
<PriceLevelRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</PriceLevelRef>
<!-- END OR -->
<ClassRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ClassRef>
<Amount >AMTTYPE</Amount> <!-- optional -->
<!-- OptionForPriceRuleConflict may have one of the following values: Zero, BasePrice -->
<OptionForPriceRuleConflict >ENUMTYPE</OptionForPriceRuleConflict> <!-- optional -->
<InventorySiteRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteRef>
<InventorySiteLocationRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteLocationRef>
<!-- BEGIN OR -->
<SerialNumber >STRTYPE</SerialNumber> <!-- optional -->
<!-- OR -->
<LotNumber >STRTYPE</LotNumber> <!-- optional -->
<!-- END OR -->
<ServiceDate >DATETYPE</ServiceDate> <!-- optional -->
<SalesTaxCodeRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</SalesTaxCodeRef>
<OverrideItemAccountRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</OverrideItemAccountRef>
<Other1 >STRTYPE</Other1> <!-- optional -->
<Other2 >STRTYPE</Other2> <!-- optional -->
<CreditCardTxnInfo> <!-- optional -->
<CreditCardTxnInputInfo> <!-- required -->
<CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required -->
<ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required -->
<ExpirationYear >INTTYPE</ExpirationYear> <!-- required -->
<NameOnCard >STRTYPE</NameOnCard> <!-- required -->
<CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional -->
<CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional -->
<CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional -->
<!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent -->
<TransactionMode >ENUMTYPE</TransactionMode> <!-- optional -->
<!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization -->
<CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional -->
</CreditCardTxnInputInfo>
<CreditCardTxnResultInfo> <!-- required -->
<ResultCode >INTTYPE</ResultCode> <!-- required -->
<ResultMessage >STRTYPE</ResultMessage> <!-- required -->
<CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required -->
<MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required -->
<AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional -->
<!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable -->
<AVSStreet >ENUMTYPE</AVSStreet> <!-- optional -->
<!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable -->
<AVSZip >ENUMTYPE</AVSZip> <!-- optional -->
<!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable -->
<CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional -->
<ReconBatchID >STRTYPE</ReconBatchID> <!-- optional -->
<PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional -->
<!-- PaymentStatus may have one of the following values: Unknown, Completed -->
<PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required -->
<TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required -->
<TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional -->
<ClientTransID >STRTYPE</ClientTransID> <!-- optional -->
</CreditCardTxnResultInfo>
</CreditCardTxnInfo>
<DataExt> <!-- optional, may repeat -->
<OwnerID >GUIDTYPE</OwnerID> <!-- required -->
<DataExtName >STRTYPE</DataExtName> <!-- required -->
<DataExtValue >STRTYPE</DataExtValue> <!-- required -->
</DataExt>
</SalesReceiptLineAdd>
<!-- OR -->
<SalesReceiptLineGroupAdd> <!-- optional -->
<ItemGroupRef> <!-- required -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ItemGroupRef>
<Quantity >QUANTYPE</Quantity> <!-- optional -->
<UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional -->
<InventorySiteRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteRef>
<InventorySiteLocationRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteLocationRef>
<DataExt> <!-- optional, may repeat -->
<OwnerID >GUIDTYPE</OwnerID> <!-- required -->
<DataExtName >STRTYPE</DataExtName> <!-- required -->
<DataExtValue >STRTYPE</DataExtValue> <!-- required -->
</DataExt>
</SalesReceiptLineGroupAdd>
<!-- END OR -->
</SalesReceiptAdd>
<IncludeRetElement >STRTYPE</IncludeRetElement> <!-- optional, may repeat -->
</SalesReceiptAddRq>
<SalesReceiptAddRs statusCode="INTTYPE" statusSeverity="STRTYPE" statusMessage="STRTYPE">
<SalesReceiptRet> <!-- optional -->
<TxnID >IDTYPE</TxnID> <!-- required -->
<TimeCreated >DATETIMETYPE</TimeCreated> <!-- required -->
<TimeModified >DATETIMETYPE</TimeModified> <!-- required -->
<EditSequence >STRTYPE</EditSequence> <!-- required -->
<TxnNumber >INTTYPE</TxnNumber> <!-- optional -->
<CustomerRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</CustomerRef>
<ClassRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ClassRef>
<TemplateRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</TemplateRef>
<TxnDate >DATETYPE</TxnDate> <!-- required -->
<RefNumber >STRTYPE</RefNumber> <!-- optional -->
<BillAddress> <!-- optional -->
<Addr1 >STRTYPE</Addr1> <!-- optional -->
<Addr2 >STRTYPE</Addr2> <!-- optional -->
<Addr3 >STRTYPE</Addr3> <!-- optional -->
<Addr4 >STRTYPE</Addr4> <!-- optional -->
<Addr5 >STRTYPE</Addr5> <!-- optional -->
<City >STRTYPE</City> <!-- optional -->
<State >STRTYPE</State> <!-- optional -->
<PostalCode >STRTYPE</PostalCode> <!-- optional -->
<Country >STRTYPE</Country> <!-- optional -->
<Note >STRTYPE</Note> <!-- optional -->
</BillAddress>
<BillAddressBlock> <!-- optional -->
<Addr1 >STRTYPE</Addr1> <!-- optional -->
<Addr2 >STRTYPE</Addr2> <!-- optional -->
<Addr3 >STRTYPE</Addr3> <!-- optional -->
<Addr4 >STRTYPE</Addr4> <!-- optional -->
<Addr5 >STRTYPE</Addr5> <!-- optional -->
</BillAddressBlock>
<ShipAddress> <!-- optional -->
<Addr1 >STRTYPE</Addr1> <!-- optional -->
<Addr2 >STRTYPE</Addr2> <!-- optional -->
<Addr3 >STRTYPE</Addr3> <!-- optional -->
<Addr4 >STRTYPE</Addr4> <!-- optional -->
<Addr5 >STRTYPE</Addr5> <!-- optional -->
<City >STRTYPE</City> <!-- optional -->
<State >STRTYPE</State> <!-- optional -->
<PostalCode >STRTYPE</PostalCode> <!-- optional -->
<Country >STRTYPE</Country> <!-- optional -->
<Note >STRTYPE</Note> <!-- optional -->
</ShipAddress>
<ShipAddressBlock> <!-- optional -->
<Addr1 >STRTYPE</Addr1> <!-- optional -->
<Addr2 >STRTYPE</Addr2> <!-- optional -->
<Addr3 >STRTYPE</Addr3> <!-- optional -->
<Addr4 >STRTYPE</Addr4> <!-- optional -->
<Addr5 >STRTYPE</Addr5> <!-- optional -->
</ShipAddressBlock>
<IsPending >BOOLTYPE</IsPending> <!-- optional -->
<CheckNumber >STRTYPE</CheckNumber> <!-- optional -->
<PaymentMethodRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</PaymentMethodRef>
<DueDate >DATETYPE</DueDate> <!-- optional -->
<SalesRepRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</SalesRepRef>
<ShipDate >DATETYPE</ShipDate> <!-- optional -->
<ShipMethodRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ShipMethodRef>
<FOB >STRTYPE</FOB> <!-- optional -->
<Subtotal >AMTTYPE</Subtotal> <!-- optional -->
<ItemSalesTaxRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ItemSalesTaxRef>
<SalesTaxPercentage >PERCENTTYPE</SalesTaxPercentage> <!-- optional -->
<SalesTaxTotal >AMTTYPE</SalesTaxTotal> <!-- optional -->
<TotalAmount >AMTTYPE</TotalAmount> <!-- optional -->
<CurrencyRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</CurrencyRef>
<ExchangeRate >FLOATTYPE</ExchangeRate> <!-- optional -->
<TotalAmountInHomeCurrency >AMTTYPE</TotalAmountInHomeCurrency> <!-- optional -->
<Memo >STRTYPE</Memo> <!-- optional -->
<CustomerMsgRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</CustomerMsgRef>
<IsToBePrinted >BOOLTYPE</IsToBePrinted> <!-- optional -->
<IsToBeEmailed >BOOLTYPE</IsToBeEmailed> <!-- optional -->
<CustomerSalesTaxCodeRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</CustomerSalesTaxCodeRef>
<DepositToAccountRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</DepositToAccountRef>
<CreditCardTxnInfo> <!-- optional -->
<CreditCardTxnInputInfo> <!-- required -->
<CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required -->
<ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required -->
<ExpirationYear >INTTYPE</ExpirationYear> <!-- required -->
<NameOnCard >STRTYPE</NameOnCard> <!-- required -->
<CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional -->
<CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional -->
<CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional -->
<!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent -->
<TransactionMode >ENUMTYPE</TransactionMode> <!-- optional -->
<!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization -->
<CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional -->
</CreditCardTxnInputInfo>
<CreditCardTxnResultInfo> <!-- required -->
<ResultCode >INTTYPE</ResultCode> <!-- required -->
<ResultMessage >STRTYPE</ResultMessage> <!-- required -->
<CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required -->
<MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required -->
<AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional -->
<!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable -->
<AVSStreet >ENUMTYPE</AVSStreet> <!-- optional -->
<!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable -->
<AVSZip >ENUMTYPE</AVSZip> <!-- optional -->
<!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable -->
<CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional -->
<ReconBatchID >STRTYPE</ReconBatchID> <!-- optional -->
<PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional -->
<!-- PaymentStatus may have one of the following values: Unknown, Completed -->
<PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required -->
<TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required -->
<TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional -->
<ClientTransID >STRTYPE</ClientTransID> <!-- optional -->
</CreditCardTxnResultInfo>
</CreditCardTxnInfo>
<Other >STRTYPE</Other> <!-- optional -->
<ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional -->
<!-- BEGIN OR -->
<SalesReceiptLineRet> <!-- optional -->
<TxnLineID >IDTYPE</TxnLineID> <!-- required -->
<ItemRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ItemRef>
<Desc >STRTYPE</Desc> <!-- optional -->
<Quantity >QUANTYPE</Quantity> <!-- optional -->
<UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional -->
<OverrideUOMSetRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</OverrideUOMSetRef>
<!-- BEGIN OR -->
<Rate >PRICETYPE</Rate> <!-- optional -->
<!-- OR -->
<RatePercent >PERCENTTYPE</RatePercent> <!-- optional -->
<!-- END OR -->
<ClassRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ClassRef>
<Amount >AMTTYPE</Amount> <!-- optional -->
<InventorySiteRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteRef>
<InventorySiteLocationRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteLocationRef>
<!-- BEGIN OR -->
<SerialNumber >STRTYPE</SerialNumber> <!-- optional -->
<!-- OR -->
<LotNumber >STRTYPE</LotNumber> <!-- optional -->
<!-- END OR -->
<ServiceDate >DATETYPE</ServiceDate> <!-- optional -->
<SalesTaxCodeRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</SalesTaxCodeRef>
<Other1 >STRTYPE</Other1> <!-- optional -->
<Other2 >STRTYPE</Other2> <!-- optional -->
<CreditCardTxnInfo> <!-- optional -->
<CreditCardTxnInputInfo> <!-- required -->
<CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required -->
<ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required -->
<ExpirationYear >INTTYPE</ExpirationYear> <!-- required -->
<NameOnCard >STRTYPE</NameOnCard> <!-- required -->
<CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional -->
<CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional -->
<CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional -->
<!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent -->
<TransactionMode >ENUMTYPE</TransactionMode> <!-- optional -->
<!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization -->
<CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional -->
</CreditCardTxnInputInfo>
<CreditCardTxnResultInfo> <!-- required -->
<ResultCode >INTTYPE</ResultCode> <!-- required -->
<ResultMessage >STRTYPE</ResultMessage> <!-- required -->
<CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required -->
<MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required -->
<AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional -->
<!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable -->
<AVSStreet >ENUMTYPE</AVSStreet> <!-- optional -->
<!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable -->
<AVSZip >ENUMTYPE</AVSZip> <!-- optional -->
<!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable -->
<CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional -->
<ReconBatchID >STRTYPE</ReconBatchID> <!-- optional -->
<PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional -->
<!-- PaymentStatus may have one of the following values: Unknown, Completed -->
<PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required -->
<TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required -->
<TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional -->
<ClientTransID >STRTYPE</ClientTransID> <!-- optional -->
</CreditCardTxnResultInfo>
</CreditCardTxnInfo>
<DataExtRet> <!-- optional, may repeat -->
<OwnerID >GUIDTYPE</OwnerID> <!-- optional -->
<DataExtName >STRTYPE</DataExtName> <!-- required -->
<!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE -->
<DataExtType >ENUMTYPE</DataExtType> <!-- required -->
<DataExtValue >STRTYPE</DataExtValue> <!-- required -->
</DataExtRet>
</SalesReceiptLineRet>
<!-- OR -->
<SalesReceiptLineGroupRet> <!-- optional -->
<TxnLineID >IDTYPE</TxnLineID> <!-- required -->
<ItemGroupRef> <!-- required -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ItemGroupRef>
<Desc >STRTYPE</Desc> <!-- optional -->
<Quantity >QUANTYPE</Quantity> <!-- optional -->
<UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional -->
<OverrideUOMSetRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</OverrideUOMSetRef>
<IsPrintItemsInGroup >BOOLTYPE</IsPrintItemsInGroup> <!-- required -->
<TotalAmount >AMTTYPE</TotalAmount> <!-- required -->
<SalesReceiptLineRet> <!-- optional, may repeat -->
<TxnLineID >IDTYPE</TxnLineID> <!-- required -->
<ItemRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ItemRef>
<Desc >STRTYPE</Desc> <!-- optional -->
<Quantity >QUANTYPE</Quantity> <!-- optional -->
<UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional -->
<OverrideUOMSetRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</OverrideUOMSetRef>
<!-- BEGIN OR -->
<Rate >PRICETYPE</Rate> <!-- optional -->
<!-- OR -->
<RatePercent >PERCENTTYPE</RatePercent> <!-- optional -->
<!-- END OR -->
<ClassRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</ClassRef>
<Amount >AMTTYPE</Amount> <!-- optional -->
<InventorySiteRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteRef>
<InventorySiteLocationRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</InventorySiteLocationRef>
<!-- BEGIN OR -->
<SerialNumber >STRTYPE</SerialNumber> <!-- optional -->
<!-- OR -->
<LotNumber >STRTYPE</LotNumber> <!-- optional -->
<!-- END OR -->
<ServiceDate >DATETYPE</ServiceDate> <!-- optional -->
<SalesTaxCodeRef> <!-- optional -->
<ListID >IDTYPE</ListID> <!-- optional -->
<FullName >STRTYPE</FullName> <!-- optional -->
</SalesTaxCodeRef>
<Other1 >STRTYPE</Other1> <!-- optional -->
<Other2 >STRTYPE</Other2> <!-- optional -->
<CreditCardTxnInfo> <!-- optional -->
<CreditCardTxnInputInfo> <!-- required -->
<CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required -->
<ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required -->
<ExpirationYear >INTTYPE</ExpirationYear> <!-- required -->
<NameOnCard >STRTYPE</NameOnCard> <!-- required -->
<CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional -->
<CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional -->
<CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional -->
<!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent -->
<TransactionMode >ENUMTYPE</TransactionMode> <!-- optional -->
<!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization -->
<CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional -->
</CreditCardTxnInputInfo>
<CreditCardTxnResultInfo> <!-- required -->
<ResultCode >INTTYPE</ResultCode> <!-- required -->
<ResultMessage >STRTYPE</ResultMessage> <!-- required -->
<CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required -->
<MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required -->
<AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional -->
<!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable -->
<AVSStreet >ENUMTYPE</AVSStreet> <!-- optional -->
<!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable -->
<AVSZip >ENUMTYPE</AVSZip> <!-- optional -->
<!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable -->
<CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional -->
<ReconBatchID >STRTYPE</ReconBatchID> <!-- optional -->
<PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional -->
<!-- PaymentStatus may have one of the following values: Unknown, Completed -->
<PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required -->
<TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required -->
<TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional -->
<ClientTransID >STRTYPE</ClientTransID> <!-- optional -->
</CreditCardTxnResultInfo>
</CreditCardTxnInfo>
<DataExtRet> <!-- optional, may repeat -->
<OwnerID >GUIDTYPE</OwnerID> <!-- optional -->
<DataExtName >STRTYPE</DataExtName> <!-- required -->
<!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE -->
<DataExtType >ENUMTYPE</DataExtType> <!-- required -->
<DataExtValue >STRTYPE</DataExtValue> <!-- required -->
</DataExtRet>
</SalesReceiptLineRet>
<DataExtRet> <!-- optional, may repeat -->
<OwnerID >GUIDTYPE</OwnerID> <!-- optional -->
<DataExtName >STRTYPE</DataExtName> <!-- required -->
<!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE -->
<DataExtType >ENUMTYPE</DataExtType> <!-- required -->
<DataExtValue >STRTYPE</DataExtValue> <!-- required -->
</DataExtRet>
</SalesReceiptLineGroupRet>
<!-- END OR -->
<DataExtRet> <!-- optional, may repeat -->
<OwnerID >GUIDTYPE</OwnerID> <!-- optional -->
<DataExtName >STRTYPE</DataExtName> <!-- required -->
<!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE -->
<DataExtType >ENUMTYPE</DataExtType> <!-- required -->
<DataExtValue >STRTYPE</DataExtValue> <!-- required -->
</DataExtRet>
</SalesReceiptRet>
<ErrorRecovery> <!-- optional -->
<!-- BEGIN OR -->
<ListID >IDTYPE</ListID> <!-- optional -->
<!-- OR -->
<OwnerID >GUIDTYPE</OwnerID> <!-- optional -->
<!-- OR -->
<TxnID >IDTYPE</TxnID> <!-- optional -->
<!-- END OR -->
<TxnNumber >INTTYPE</TxnNumber> <!-- optional -->
<EditSequence >STRTYPE</EditSequence> <!-- optional -->
<ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional -->
</ErrorRecovery>
</SalesReceiptAddRs>
</QBXMLMsgsRq>
</QBXML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment