interactions:
- request:
    body: !!python/unicode '{"origin_country": "US", "description": "T-Shirt", "quantity":
      2, "mass_unit": "g", "value_currency": "USD", "net_weight": "400", "tariff_number":
      "", "value_amount": "20", "metadata": "Order ID #123123"}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['204']
      Content-Type: [application/json]
      Shippo-API-Version: ['2017-03-29']
      User-Agent: [Shippo/v1 PythonBindings/1.4.0]
      X-Shippo-Client-User-Agent: ['{"lang": "python", "publisher": "shippo", "httplib":
          "requests", "uname": "Darwin guozhen-shippo-mbp.local 16.4.0 Darwin Kernel
          Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64
          x86_64 i386", "lang_version": "2.7.10", "platform": "Darwin-16.4.0-x86_64-i386-64bit",
          "bindings_version": "1.4.0"}']
    method: POST
    uri: https://api.goshippo.com/customs/items/
  response:
    body:
      string: !!binary |
        H4sIAOfy61gC/32QsU7DMBCGXyUKK61sJzRtJ5C6VEJiaGFgiRz7khgaO9hnKkC8O74URMWA5MXf
        fXf+zx+5a55AYa08SASdr7NcMF7NWDnjbC/4mol1wefVkj/ml9mPHUf9vy3ObTOJ7aJq2qISomS8
        vFo1DVerQi0Xy1JroXV11uCOFjz1dNG992CvOxd6M45urtxw5gVMKch7uLndbqigIShvRjTOEt/P
        dr3xSJWXKC0afEtYpKsFrI9guh7JKxkjZ5Ah1NGaiXVEXuUhQi0HFy2etv2lKnoPVtHE/H43Pe+8
        6YytFen+u0AcpTdtW9s4NKfFCPYhiZry23g4JBCe4x8yAMr005Ja7rwGn2032QUXRTrTXAgUC32E
        zy+B5yNkywEAAA==
    headers:
      allow: [OPTIONS]
      connection: [keep-alive]
      content-encoding: [gzip]
      content-length: ['295']
      content-type: [application/json]
      date: ['Mon, 10 Apr 2017 21:02:31 GMT']
      p3p: [CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"]
      server: [nginx/1.8.0]
      vary: ['Host, Cookie, Accept-Encoding']
    status: {code: 201, message: CREATED}
- request:
    body: !!python/unicode '{"aes_itn": "", "incoterm": "", "certify_signer": "Laura
      Behrens Wu", "certificate": "", "license": "", "exporter_reference": "", "contents_type":
      "MERCHANDISE", "items": ["f67bf3722401459bb1c93c8684dd2dd7"], "notes": "", "certify":
      true, "eel_pfc": "NOEEI_30_37_a", "non_delivery_option": "ABANDON", "invoice":
      "#123123", "importer_reference": "", "metadata": "Order ID #123123", "contents_explanation":
      "T-Shirt purchase", "disclaimer": ""}'
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['442']
      Content-Type: [application/json]
      Shippo-API-Version: ['2017-03-29']
      User-Agent: [Shippo/v1 PythonBindings/1.4.0]
      X-Shippo-Client-User-Agent: ['{"lang": "python", "publisher": "shippo", "httplib":
          "requests", "uname": "Darwin guozhen-shippo-mbp.local 16.4.0 Darwin Kernel
          Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64
          x86_64 i386", "lang_version": "2.7.10", "platform": "Darwin-16.4.0-x86_64-i386-64bit",
          "bindings_version": "1.4.0"}']
    method: POST
    uri: https://api.goshippo.com/customs/declarations/
  response:
    body:
      string: !!binary |
        H4sIAOjy61gC/5WSUU/bMBSF/0oUXlcU2yFp+rSyVqIStNJATBpClmPfNJ4SO7IdoEP8d+ykgfKw
        h0l+OT6f7z2+9musyz/AHeUGmAMRL6IYJyifJekMJXcYLRK8IPicFOR3/C2a6L4T/0HLARRFyou5
        QCVBIi0zxLKyRHPGOfbbkGQnB/SzAhPO7Hv9twb1fa9tLbtOn3PdnnDW+RSBu19eb1bB4GCcrA7U
        yv2xxDXrDYsuoTagbPSrP6G87UwPfkM6aK2XD3GV5WVFcozTBKUXhY/IC8Ln2TwVAguRx48eV1pR
        AY18AnOgunNSq9BqebncrnbboYNWDpSz1B26IeHN+uePK29vbtdffHjpGqbYVOJudltL46KuN7xm
        FgLrEW0cGGqgAn8LPhQMjmz/6agnLUd5hjDxa+zatmC4ZA39BCrW2DCDxktlPyqMM5L8OOF4uLYD
        OwmAhnYVD3K7W683lCSU5JQFj4Gl0qkJFdLyhsl2fJAxHve1TDvpFhzzP4oFvTMCTLRZRSfBfV93
        fK23d6gQTsizAgAA
    headers:
      allow: [OPTIONS]
      connection: [keep-alive]
      content-encoding: [gzip]
      content-length: ['411']
      content-type: [application/json]
      date: ['Mon, 10 Apr 2017 21:02:32 GMT']
      p3p: [CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"]
      server: [nginx/1.8.0]
      vary: ['Host, Cookie, Accept-Encoding']
    status: {code: 201, message: CREATED}
version: 1
