Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invoice Add (2017-10-09 17:27:14)
- Woocommerce Data:
- Array
- (
- [wc_inv_id] => 2545
- [wc_inv_num] => OR-4478
- [order_type] =>
- [wc_inv_date] => 2017-10-09 11:01:59
- [wc_inv_due_date] => 2017-10-09 11:01:59
- [customer_note] => En la mañana
- [order_status] => wc-on-hold
- [wc_cus_id] => 104
- [wc_customerid] => 104
- [_order_key] => wc_order_59dbab877727e
- [_customer_user] => 104
- [_payment_method] => bacs
- [_payment_method_title] => Transferencia Bancaria
- [_transaction_id] =>
- [_customer_ip_address] => 186.15.169.226
- [_customer_user_agent] => mozilla/5.0 (windows nt 5.1; rv:52.0) gecko/20100101 firefox/52.0
- [_created_via] => checkout
- [_date_completed] =>
- [_completed_date] =>
- [_date_paid] =>
- [_paid_date] =>
- [_cart_hash] => fb7dd5d9e0031671cfa1d1941f3b2a16
- [_billing_first_name] => Elena
- [_billing_last_name] => Cruz Mora
- [_billing_company] =>
- [_billing_address_1] => Condominio Villa Cedros
- [_billing_address_2] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
- [_billing_city] => Sabanilla
- [_billing_state] => SAN_JOSE
- [_billing_postcode] =>
- [_billing_country] => CR
- [_billing_email] => cruz.ele@gmail.com
- [_billing_phone] => 70127773
- [_shipping_first_name] => Elena
- [_shipping_last_name] => Cruz Mora
- [_shipping_company] =>
- [_shipping_address_1] => Condominio Villa Cedros
- [_shipping_address_2] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
- [_shipping_city] => Sabanilla
- [_shipping_state] => SAN_JOSE
- [_shipping_postcode] =>
- [_shipping_country] => CR
- [_order_currency] => CRC
- [_cart_discount] => 1000
- [_cart_discount_tax] =>
- [_order_shipping] => 2700
- [_order_shipping_tax] =>
- [_order_tax] =>
- [_order_total] => 23300.00
- [_order_version] => 3.1.2
- [_prices_include_tax] => no
- [_billing_address_index] => Elena Cruz Mora Condominio Villa Cedros Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1 Sabanilla SAN_JOSE CR cruz.ele@gmail.com 70127773
- [_shipping_address_index] => Elena Cruz Mora Condominio Villa Cedros Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1 Sabanilla SAN_JOSE CR
- [_shipping_method] => a:1:{i:0;s:11:"flat_rate:3";}
- [Fecha Entrega] => 15-10-2017
- [_order_number] => 4478
- [_order_number_formatted] => OR-4478
- [_order_number_meta] => a:3:{s:6:"prefix";s:3:"OR-";s:6:"suffix";s:0:"";s:6:"length";s:1:"4";}
- [_recorded_sales] => yes
- [_recorded_coupon_usage_counts] => yes
- [_order_stock_reduced] => yes
- [_ga_tracked] => 1
- [_edit_lock] => 1507569526:1
- [used_coupons] => Array
- (
- [0] => Array
- (
- [discount_amount] => 500
- [discount_amount_tax] => 0
- [name] => bol3ker
- [type] => coupon
- )
- [1] => Array
- (
- [discount_amount] => 500
- [discount_amount_tax] => 0
- [name] => bol4des
- [type] => coupon
- )
- )
- [shipping_details] => Array
- (
- [0] => Array
- (
- [method_id] => flat_rate:3
- [cost] => 2700
- [total_tax] => 0
- [taxes] => a:1:{s:5:"total";a:0:{}}
- [Artículos] => Carne Mechada - 1 (150g) × 1, Lomito con Chimichurri - 1 (150g) × 1, Pollo Desmenuzado - 1 (150g) × 1, Pollo Oriental - 1 (150g) × 1, Bolsa Retornable (Reintegro al devolverla) × 1, Vainicas y Zanahorias - 1 (150g) × 4, Zuquini en Tiras - 1 (150g) × 1, Lomo Teriyaki × 2, Pollo Capresse - 1 (150g) × 1
- [name] => Fijo
- [type] => shipping
- )
- )
- [order_shipping_total] => 2700
- [tax_details] => Array
- (
- )
- [qbo_inv_items] => Array
- (
- [0] => Array
- (
- [Description] => Carne Mechada - 1 (150g) - Porciones: 1-150g
- [Qty] => 1
- [UnitPrice] => 2400
- [ItemRef] => 1029
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 1454
- [variation_id] => 1722
- [tax_class] =>
- [line_subtotal] => 2400
- [line_subtotal_tax] => 0
- [line_total] => 2288.89
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [pa_porciones] => 1-150g
- [type] => line_item
- )
- [1] => Array
- (
- [Description] => Lomito con Chimichurri - 1 (150g) - Porciones: 1-150g
- [Qty] => 1
- [UnitPrice] => 3500
- [ItemRef] => 963
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 1452
- [variation_id] => 1770
- [tax_class] =>
- [line_subtotal] => 3500
- [line_subtotal_tax] => 0
- [line_total] => 3337.96
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [pa_porciones] => 1-150g
- [type] => line_item
- )
- [2] => Array
- (
- [Description] => Pollo Desmenuzado - 1 (150g) - Porciones: 1-150g
- [Qty] => 1
- [UnitPrice] => 1800
- [ItemRef] => 1074
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 1458
- [variation_id] => 1810
- [tax_class] =>
- [line_subtotal] => 1800
- [line_subtotal_tax] => 0
- [line_total] => 1716.67
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [pa_porciones] => 1-150g
- [type] => line_item
- )
- [3] => Array
- (
- [Description] => Pollo Oriental - 1 (150g) - Porciones: 1-150g
- [Qty] => 1
- [UnitPrice] => 2100
- [ItemRef] => 948
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 1460
- [variation_id] => 1814
- [tax_class] =>
- [line_subtotal] => 2100
- [line_subtotal_tax] => 0
- [line_total] => 2002.78
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [pa_porciones] => 1-150g
- [type] => line_item
- )
- [4] => Array
- (
- [Description] => Bolsa Retornable (Reintegro al devolverla)
- [Qty] => 1
- [UnitPrice] => 500
- [ItemRef] => 1126
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 2067
- [variation_id] => 0
- [tax_class] =>
- [line_subtotal] => 500
- [line_subtotal_tax] => 0
- [line_total] => 476.85
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [type] => line_item
- )
- [5] => Array
- (
- [Description] => Vainicas y Zanahorias - 1 (150g) - Porciones: 1-150g
- [Qty] => 4
- [UnitPrice] => 1200
- [ItemRef] => 829
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 1499
- [variation_id] => 1847
- [tax_class] =>
- [line_subtotal] => 4800
- [line_subtotal_tax] => 0
- [line_total] => 4577.78
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [pa_porciones] => 1-150g
- [type] => line_item
- )
- [6] => Array
- (
- [Description] => Zuquini en Tiras - 1 (150g) - Porciones: 1-150g
- [Qty] => 1
- [UnitPrice] => 1300
- [ItemRef] => 1119
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 1494
- [variation_id] => 1855
- [tax_class] =>
- [line_subtotal] => 1300
- [line_subtotal_tax] => 0
- [line_total] => 1239.81
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [pa_porciones] => 1-150g
- [type] => line_item
- )
- [7] => Array
- (
- [Description] => Lomo Teriyaki
- [Qty] => 2
- [UnitPrice] => 1500
- [ItemRef] => 1260
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 2466
- [variation_id] => 0
- [tax_class] =>
- [line_subtotal] => 3000
- [line_subtotal_tax] => 0
- [line_total] => 2861.11
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [type] => line_item
- )
- [8] => Array
- (
- [Description] => Pollo Capresse - 1 (150g) - Porciones: 1-150g
- [Qty] => 1
- [UnitPrice] => 2200
- [ItemRef] => 881
- [acof_map_product] =>
- [qbo_product_type] => NonInventory
- [Taxed] => 0
- [ClassRef] =>
- [product_id] => 1464
- [variation_id] => 1798
- [tax_class] =>
- [line_subtotal] => 2200
- [line_subtotal_tax] => 0
- [line_total] => 2098.15
- [line_tax] => 0
- [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}}
- [pa_porciones] => 1-150g
- [type] => line_item
- )
- )
- [dc_gt_fees] => Array
- (
- )
- [qbo_customerid] => 611
- [manual] => 1
- )
- QuickBooks Object:
- QuickBooks_IPP_Object_Invoice Object
- (
- [_data:protected] => Array
- (
- [DocNumber] => OR-4478
- [TxnDate] => 2017-10-09
- [DueDate] => 2017-10-09
- [CustomerRef] => 611
- [Line] => Array
- (
- [0] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 2400
- [Description] => Carne Mechada - 1 (150g) - Porciones: 1-150g
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 1029
- [Qty] => 1
- [UnitPrice] => 2400
- )
- )
- )
- )
- )
- [1] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 3500
- [Description] => Lomito con Chimichurri - 1 (150g) - Porciones: 1-150g
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 963
- [Qty] => 1
- [UnitPrice] => 3500
- )
- )
- )
- )
- )
- [2] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 1800
- [Description] => Pollo Desmenuzado - 1 (150g) - Porciones: 1-150g
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 1074
- [Qty] => 1
- [UnitPrice] => 1800
- )
- )
- )
- )
- )
- [3] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 2100
- [Description] => Pollo Oriental - 1 (150g) - Porciones: 1-150g
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 948
- [Qty] => 1
- [UnitPrice] => 2100
- )
- )
- )
- )
- )
- [4] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 500
- [Description] => Bolsa Retornable (Reintegro al devolverla)
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 1126
- [Qty] => 1
- [UnitPrice] => 500
- )
- )
- )
- )
- )
- [5] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 4800
- [Description] => Vainicas y Zanahorias - 1 (150g) - Porciones: 1-150g
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 829
- [Qty] => 4
- [UnitPrice] => 1200
- )
- )
- )
- )
- )
- [6] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 1300
- [Description] => Zuquini en Tiras - 1 (150g) - Porciones: 1-150g
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 1119
- [Qty] => 1
- [UnitPrice] => 1300
- )
- )
- )
- )
- )
- [7] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 3000
- [Description] => Lomo Teriyaki
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 1260
- [Qty] => 2
- [UnitPrice] => 1500
- )
- )
- )
- )
- )
- [8] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 2200
- [Description] => Pollo Capresse - 1 (150g) - Porciones: 1-150g
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 881
- [Qty] => 1
- [UnitPrice] => 2200
- )
- )
- )
- )
- )
- [9] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 2700
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => SHIPPING_ITEM_ID
- )
- )
- )
- )
- )
- [10] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 0
- [Description] => Coupon: bol3ker
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 1248
- )
- )
- )
- )
- )
- [11] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => SalesItemLineDetail
- [Amount] => 0
- [Description] => Coupon: bol4des
- [SalesItemLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_SalesItemLineDetail Object
- (
- [_data:protected] => Array
- (
- [ItemRef] => 1248
- )
- )
- )
- )
- )
- [12] => QuickBooks_IPP_Object_Line Object
- (
- [_data:protected] => Array
- (
- [DetailType] => DiscountLineDetail
- [Amount] => 1000
- [Description] => Total Discount
- [DiscountLineDetail] => Array
- (
- [0] => QuickBooks_IPP_Object_DiscountLineDetail Object
- (
- [_data:protected] => Array
- (
- [PercentBased] =>
- [DiscountAccountRef] => 77
- )
- )
- )
- )
- )
- )
- [BillEmail] => QuickBooks_IPP_Object_BillEmail Object
- (
- [_data:protected] => Array
- (
- [Address] => cruz.ele@gmail.com
- )
- )
- [BillAddr] => QuickBooks_IPP_Object_BillAddr Object
- (
- [_data:protected] => Array
- (
- [Line1] => Elena Cruz Mora
- [Line2] =>
- [Line3] => Condominio Villa Cedros
- [Line4] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
- [City] => Sabanilla
- [Country] => Costa Rica
- [CountrySubDivisionCode] => SAN_JOSE
- [PostalCode] =>
- )
- )
- [ShipAddr] => QuickBooks_IPP_Object_ShipAddr Object
- (
- [_data:protected] => Array
- (
- [Line1] => Elena Cruz Mora
- [Line2] =>
- [Line3] => Condominio Villa Cedros
- [Line4] => Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1
- [City] => Sabanilla
- [Country] => Costa Rica
- [CountrySubDivisionCode] => SAN_JOSE
- [PostalCode] =>
- )
- )
- [CustomField] => Array
- (
- [0] => QuickBooks_IPP_Object_CustomField Object
- (
- [_data:protected] => Array
- (
- [DefinitionId] => 1
- [Name] => 1
- [Type] => StringType
- [StringValue] => En la mañana
- )
- )
- )
- )
- )
- Request:
- POST https://quickbooks.api.intuit.com/v3/company/123145845204672/invoice?requestid=930990d9-6e15-9674-7d51-b1210e6082de&minorversion=6 HTTP/1.1
- Content-Type: application/xml
- Authorization: OAuth realm="", oauth_signature_method="HMAC-SHA1", oauth_signature="Mh9EMew1la6XrJXkOzTM8nTI98A%3D", oauth_nonce="Hkp5B", oauth_timestamp="1507570034", oauth_token="qyprdJAWeN4FCxanYnvJ9KRuPX3cq08DsNSbRQK9KBzbGtIo", oauth_consumer_key="qyprdZNHZbDxasBSSjQMBj0K3tPijz", oauth_version="1.0"
- Content-Length: 6027
- <Invoice xmlns="http://schema.intuit.com/finance/v3">
- <DocNumber>OR-4478</DocNumber>
- <TxnDate>2017-10-09</TxnDate>
- <DueDate>2017-10-09</DueDate>
- <CustomerRef>611</CustomerRef>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>2400</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Carne Mechada - 1 (150g) - Porciones: 1-150g</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>1029</ItemRef>
- <Qty>1</Qty>
- <UnitPrice>2400</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>3500</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Lomito con Chimichurri - 1 (150g) - Porciones: 1-150g</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>963</ItemRef>
- <Qty>1</Qty>
- <UnitPrice>3500</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>1800</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Pollo Desmenuzado - 1 (150g) - Porciones: 1-150g</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>1074</ItemRef>
- <Qty>1</Qty>
- <UnitPrice>1800</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>2100</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Pollo Oriental - 1 (150g) - Porciones: 1-150g</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>948</ItemRef>
- <Qty>1</Qty>
- <UnitPrice>2100</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>500</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Bolsa Retornable (Reintegro al devolverla)</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>1126</ItemRef>
- <Qty>1</Qty>
- <UnitPrice>500</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>4800</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Vainicas y Zanahorias - 1 (150g) - Porciones: 1-150g</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>829</ItemRef>
- <Qty>4</Qty>
- <UnitPrice>1200</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>1300</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Zuquini en Tiras - 1 (150g) - Porciones: 1-150g</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>1119</ItemRef>
- <Qty>1</Qty>
- <UnitPrice>1300</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>3000</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Lomo Teriyaki</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>1260</ItemRef>
- <Qty>2</Qty>
- <UnitPrice>1500</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>2200</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Pollo Capresse - 1 (150g) - Porciones: 1-150g</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>881</ItemRef>
- <Qty>1</Qty>
- <UnitPrice>2200</UnitPrice>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>2700</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>SHIPPING_ITEM_ID</ItemRef>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>0</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Coupon: bol3ker</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>1248</ItemRef>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>0</Amount>
- <DetailType>SalesItemLineDetail</DetailType>
- <Description>Coupon: bol4des</Description>
- <SalesItemLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <ItemRef>1248</ItemRef>
- </SalesItemLineDetail>
- </Line>
- <Line xmlns="http://schema.intuit.com/finance/v3">
- <Amount>1000</Amount>
- <DetailType>DiscountLineDetail</DetailType>
- <Description>Total Discount</Description>
- <DiscountLineDetail xmlns="http://schema.intuit.com/finance/v3">
- <PercentBased></PercentBased>
- <DiscountAccountRef>77</DiscountAccountRef>
- </DiscountLineDetail>
- </Line>
- <BillEmail xmlns="http://schema.intuit.com/finance/v3">
- <Address>cruz.ele@gmail.com</Address>
- </BillEmail>
- <BillAddr xmlns="http://schema.intuit.com/finance/v3">
- <Line1>Elena Cruz Mora</Line1>
- <Line2></Line2>
- <Line3>Condominio Villa Cedros</Line3>
- <Line4>Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1</Line4>
- <City>Sabanilla</City>
- <Country>Costa Rica</Country>
- <CountrySubDivisionCode>SAN_JOSE</CountrySubDivisionCode>
- <PostalCode></PostalCode>
- </BillAddr>
- <ShipAddr xmlns="http://schema.intuit.com/finance/v3">
- <Line1>Elena Cruz Mora</Line1>
- <Line2></Line2>
- <Line3>Condominio Villa Cedros</Line3>
- <Line4>Sabanilla, del Colegio Metodista 100m al Este y 150m al Sur, Condominio Villa Cedros, Casa #1</Line4>
- <City>Sabanilla</City>
- <Country>Costa Rica</Country>
- <CountrySubDivisionCode>SAN_JOSE</CountrySubDivisionCode>
- <PostalCode></PostalCode>
- </ShipAddr>
- <CustomField xmlns="http://schema.intuit.com/finance/v3">
- <DefinitionId>1</DefinitionId>
- <Name>1</Name>
- <Type>StringType</Type>
- <StringValue>En la mañana</StringValue>
- </CustomField>
- </Invoice>
- Response:
- HTTP/1.1 100 Continue
- HTTP/1.1 400 Bad Request
- Server: nginx
- Date: Mon, 09 Oct 2017 17:27:14 GMT
- Content-Type: application/xml
- Content-Length: 413
- Connection: keep-alive
- Keep-Alive: timeout=5
- Strict-Transport-Security: max-age=15552000
- intuit_tid: 0822146f-3833-b5de-9f45-877a60d004a8
- Vary: Accept-Encoding
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?><IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2017-10-09T10:27:14.432-07:00"><Fault type="ValidationFault"><Error code="6000" element=""><Message>A business validation error has occurred while processing your request</Message><Detail>Business Validation Error: Unexpected Internal Error. (-30004)</Detail></Error></Fault></IntuitResponse>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement