SHARE
TWEET

Untitled

myworksdesign Apr 24th, 2019 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.  "QueryResponse": {
  3.   "SalesReceipt": [
  4.    {
  5.     "domain": "QBO",
  6.     "sparse": false,
  7.     "Id": "6594",
  8.     "SyncToken": "2",
  9.     "MetaData": {
  10.      "CreateTime": "2019-04-23T21
  11.          :04:31-07:00",
  12.      "LastUpdatedTime": "2019-04
  13.          -24T19:54:32-07:00"
  14.     },
  15.     "CustomField": [
  16.      {
  17.       "DefinitionId": "1",
  18.       "Name": "Purchase Order",
  19.       "Type": "StringType"
  20.      }
  21.     ],
  22.     "DocNumber": "1823",
  23.     "TxnDate": "2019-04-24",
  24.     "CurrencyRef": {
  25.      "value": "AUD",
  26.      "name": "Australian Dollar"
  27.     },
  28.     "ExchangeRate": 1,
  29.     "LinkedTxn": [
  30.      {
  31.       "TxnId": "6596",
  32.       "TxnType": "Deposit"
  33.      }
  34.     ],
  35.     "Line": [
  36.      {
  37.       "Id": "13",
  38.       "LineNum": 1,
  39.       "Description": "Testing
  40.           description",
  41.       "Amount": 0,
  42.       "DetailType":
  43.           "GroupLineDetail",
  44.       "GroupLineDetail": {
  45.        "GroupItemRef": {
  46.         "value": "109",
  47.         "name": "Safe4Kids Book
  48.             Bundle"
  49.        },
  50.        "Quantity": 1,
  51.        "Line": [
  52.         {
  53.          "Id": "14",
  54.          "LineNum": 2,
  55.          "Description": "Matilda
  56.              Learns a Valuable
  57.              Lesson",
  58.          "Amount": 25,
  59.          "DetailType":
  60.              "SalesItemLineDetail",
  61.          "SalesItemLineDetail": {
  62.           "TaxInclusiveAmt": 27.5,
  63.           "ItemRef": {
  64.            "value": "35",
  65.            "name": "Matilda Learns
  66.                a Valuable Lesson"
  67.           },
  68.           "UnitPrice": 25,
  69.           "Qty": 1,
  70.           "ItemAccountRef": {
  71.            "value": "190",
  72.            "name": "44010 Income
  73.                :Bookshop Trading
  74.                :Bookshop Sales"
  75.           },
  76.           "TaxCodeRef": {
  77.            "value": "11"
  78.           }
  79.          }
  80.         },
  81.         {
  82.          "Id": "15",
  83.          "LineNum": 3,
  84.          "Description": "Hayden
  85.              -Reece Learns a
  86.              Valuable Lesson that
  87.              Private Means 'Just
  88.              For You'",
  89.          "Amount": 25,
  90.          "DetailType":
  91.              "SalesItemLineDetail",
  92.          "SalesItemLineDetail": {
  93.           "TaxInclusiveAmt": 27.5,
  94.           "ItemRef": {
  95.            "value": "32",
  96.            "name": "Hayden-Reece
  97.                Learns a Valuable
  98.                Lesson that Private
  99.                Means 'Just For
  100.                You'"
  101.           },
  102.           "UnitPrice": 25,
  103.           "Qty": 1,
  104.           "ItemAccountRef": {
  105.            "value": "190",
  106.            "name": "44010 Income
  107.                :Bookshop Trading
  108.                :Bookshop Sales"
  109.           },
  110.           "TaxCodeRef": {
  111.            "value": "11"
  112.           }
  113.          }
  114.         },
  115.         {
  116.          "Id": "16",
  117.          "LineNum": 4,
  118.          "Description": "Hayden
  119.              -Reece Learns What To
  120.              Do if Children See
  121.              Private Pictures or
  122.              Private Movies",
  123.          "Amount": 25,
  124.          "DetailType":
  125.              "SalesItemLineDetail",
  126.          "SalesItemLineDetail": {
  127.           "TaxInclusiveAmt": 27.5,
  128.           "ItemRef": {
  129.            "value": "63",
  130.            "name": "Hayden-Reece
  131.                Learns What To Do if
  132.                Children See Private
  133.                Pictures or Private
  134.                Movies"
  135.           },
  136.           "UnitPrice": 25,
  137.           "Qty": 1,
  138.           "ItemAccountRef": {
  139.            "value": "190",
  140.            "name": "44010 Income
  141.                :Bookshop Trading
  142.                :Bookshop Sales"
  143.           },
  144.           "TaxCodeRef": {
  145.            "value": "11"
  146.           }
  147.          }
  148.         },
  149.         {
  150.          "Id": "17",
  151.          "LineNum": 5,
  152.          "Description": "Gary Just
  153.              Didn't Know the Rules"
  154.              ,
  155.          "Amount": 25,
  156.          "DetailType":
  157.              "SalesItemLineDetail",
  158.          "SalesItemLineDetail": {
  159.           "TaxInclusiveAmt": 27.5,
  160.           "ItemRef": {
  161.            "value": "75",
  162.            "name": "Gary Just
  163.                Didn't Know the
  164.                Rules"
  165.           },
  166.           "UnitPrice": 25,
  167.           "Qty": 1,
  168.           "ItemAccountRef": {
  169.            "value": "190",
  170.            "name": "44010 Income
  171.                :Bookshop Trading
  172.                :Bookshop Sales"
  173.           },
  174.           "TaxCodeRef": {
  175.            "value": "11"
  176.           }
  177.          }
  178.         },
  179.         {
  180.          "Id": "18",
  181.          "LineNum": 6,
  182.          "Description": "Someone
  183.              Should Have Told Me",
  184.          "Amount": 25,
  185.          "DetailType":
  186.              "SalesItemLineDetail",
  187.          "SalesItemLineDetail": {
  188.           "TaxInclusiveAmt": 27.5,
  189.           "ItemRef": {
  190.            "value": "94",
  191.            "name": "Someone Should
  192.                Have Told Me"
  193.           },
  194.           "UnitPrice": 25,
  195.           "Qty": 1,
  196.           "ItemAccountRef": {
  197.            "value": "190",
  198.            "name": "44010 Income
  199.                :Bookshop Trading
  200.                :Bookshop Sales"
  201.           },
  202.           "TaxCodeRef": {
  203.            "value": "11"
  204.           }
  205.          }
  206.         },
  207.         {
  208.          "Id": "19",
  209.          "LineNum": 7,
  210.          "Description": "Parents’
  211.              Guide to Child
  212.              Protection Education",
  213.          "Amount": 20,
  214.          "DetailType":
  215.              "SalesItemLineDetail",
  216.          "SalesItemLineDetail": {
  217.           "TaxInclusiveAmt": 22,
  218.           "ItemRef": {
  219.            "value": "11",
  220.            "name": "Parents’ Guide
  221.                to Child Protection
  222.                Education"
  223.           },
  224.           "UnitPrice": 20,
  225.           "Qty": 1,
  226.           "ItemAccountRef": {
  227.            "value": "190",
  228.            "name": "44010 Income
  229.                :Bookshop Trading
  230.                :Bookshop Sales"
  231.           },
  232.           "TaxCodeRef": {
  233.            "value": "11"
  234.           }
  235.          }
  236.         },
  237.         {
  238.          "Id": "20",
  239.          "LineNum": 8,
  240.          "Description": "Bundle
  241.              Product Price
  242.              Adjustment",
  243.          "Amount": -45,
  244.          "DetailType":
  245.              "SalesItemLineDetail",
  246.          "SalesItemLineDetail": {
  247.           "TaxInclusiveAmt": -49.5,
  248.           "ItemRef": {
  249.            "value": "118",
  250.            "name": "Default for
  251.                Unmatched Products"
  252.           },
  253.           "UnitPrice": -45,
  254.           "Qty": 1,
  255.           "ItemAccountRef": {
  256.            "value": "292",
  257.            "name": "Sales of
  258.                Product Income"
  259.           },
  260.           "TaxCodeRef": {
  261.            "value": "11"
  262.           }
  263.          }
  264.         }
  265.        ]
  266.       }
  267.      },
  268.      {
  269.       "Amount": 100,
  270.       "DetailType":
  271.           "SubTotalLineDetail",
  272.       "SubTotalLineDetail": {}
  273.      },
  274.      {
  275.       "Amount": 0,
  276.       "DetailType":
  277.           "SalesItemLineDetail",
  278.       "SalesItemLineDetail": {
  279.        "TaxInclusiveAmt": 0,
  280.        "ItemRef": {
  281.         "value": "SHIPPING_ITEM_ID"
  282.        },
  283.        "TaxCodeRef": {
  284.         "value": "5"
  285.        }
  286.       }
  287.      }
  288.     ],
  289.     "TxnTaxDetail": {
  290.      "TotalTax": 10,
  291.      "TaxLine": [
  292.       {
  293.        "Amount": 10,
  294.        "DetailType":
  295.            "TaxLineDetail",
  296.        "TaxLineDetail": {
  297.         "TaxRateRef": {
  298.          "value": "20"
  299.         },
  300.         "PercentBased": true,
  301.         "TaxPercent": 10,
  302.         "NetAmountTaxable": 100
  303.        }
  304.       }
  305.      ]
  306.     },
  307.     "CustomerRef": {
  308.      "value": "460",
  309.      "name": "Test Account"
  310.     },
  311.     "BillAddr": {
  312.      "Id": "1737",
  313.      "Line1": "Test Account",
  314.      "Line2": "PO Box 367",
  315.      "Line3": "ARMADALE WA  6992"
  316.     },
  317.     "ShipAddr": {
  318.      "Id": "1738",
  319.      "Line1": "Test Account",
  320.      "Line2": "PO Box 367",
  321.      "Line3": "ARMADALE WA  6992"
  322.     },
  323.     "FreeFormAddress": true,
  324.     "GlobalTaxCalculation":
  325.         "TaxInclusive",
  326.     "TotalAmt": 110,
  327.     "HomeTotalAmt": 110,
  328.     "PrintStatus": "NeedToPrint",
  329.     "EmailStatus": "NotSet",
  330.     "BillEmail": {
  331.      "Address": "rogerc7@bigpond
  332.          .com"
  333.     },
  334.     "Balance": 0,
  335.     "HomeBalance": 0,
  336.     "PaymentMethodRef": {
  337.      "value": "19",
  338.      "name": "Visa"
  339.     },
  340.     "PaymentRefNum": "28172",
  341.     "DepositToAccountRef": {
  342.      "value": "78",
  343.      "name": "11180 Undeposited
  344.          Funds"
  345.     }
  346.    }
  347.   ],
  348.   "startPosition": 1,
  349.   "maxResults": 1
  350.  },
  351.  "time": "2019-04-24T19:56:10.549
  352.      -07:00",
  353.  "intuitTid": "1c8a7a21-a5d7-2c48
  354.      -8928-613f99b16378"
  355. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top