{"action":"created","issue":{"url":"https://api.github.com/repos/NetSweet/netsuite/issues/209","labels_url":"https://api.github.com/repos/NetSweet/netsuite/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/NetSweet/netsuite/issues/209/comments","events_url":"https://api.github.com/repos/NetSweet/netsuite/issues/209/events","html_url":"https://github.com/NetSweet/netsuite/issues/209","id":101880292,"number":209,"title":"How to add AddressBook during Customer creation?","user":{"login":"wafendy","id":387000,"avatar_url":"https://avatars.githubusercontent.com/u/387000?v=3","gravatar_id":"","url":"https://api.github.com/users/wafendy","html_url":"https://github.com/wafendy","followers_url":"https://api.github.com/users/wafendy/followers","following_url":"https://api.github.com/users/wafendy/following{/other_user}","gists_url":"https://api.github.com/users/wafendy/gists{/gist_id}","starred_url":"https://api.github.com/users/wafendy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wafendy/subscriptions","organizations_url":"https://api.github.com/users/wafendy/orgs","repos_url":"https://api.github.com/users/wafendy/repos","events_url":"https://api.github.com/users/wafendy/events{/privacy}","received_events_url":"https://api.github.com/users/wafendy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T12:24:05Z","updated_at":"2015-08-19T14:47:35Z","closed_at":null,"body":"Hi,\r\n\r\nWhat is the correct structure and parameters if I want to include billing address when creating a new customer?\r\n\r\nBelow is what I have tried so far\r\n\r\n```ruby\r\naddress = NetSuite::Records::CustomerAddressbookList.new({addressbook: {default_shipping: true,\r\n                                                                        default_billing: true,\r\n                                                                        phone: '1234567890',\r\n                                                                        addr1: '1234 Dale View',\r\n                                                                        city: 'San Antonio',\r\n                                                                        zip: '78240',\r\n                                                                        country: 'Singapore',\r\n                                                                        state: 'TX'\r\n                                                                        }\r\n                                                        })\r\n\r\n```\r\n\r\n```ruby\r\n  customer = NetSuite::Records::Customer.new\r\n  customer.last_name = \"Doe\"\r\n  customer.first_name = \"Jane\"\r\n  customer.company_name = \"DEF Company #{Time.now.to_i}\"\r\n  customer.phone = \"9876543\"\r\n  customer.terms = NetSuite::Records::RecordRef.new(internal_id: 4)\r\n  customer.email = \"test@email.com\"\r\n  customer.addressbook_list = address\r\n  customer.add\r\n```\r\n\r\n```\r\n  Error message: addr1 not found on {urn:relationships_2015_1.lists.webservices.netsuite.com}CustomerAddressbook\r\n```"},"comment":{"url":"https://api.github.com/repos/NetSweet/netsuite/issues/comments/132624786","html_url":"https://github.com/NetSweet/netsuite/issues/209#issuecomment-132624786","issue_url":"https://api.github.com/repos/NetSweet/netsuite/issues/209","id":132624786,"user":{"login":"wafendy","id":387000,"avatar_url":"https://avatars.githubusercontent.com/u/387000?v=3","gravatar_id":"","url":"https://api.github.com/users/wafendy","html_url":"https://github.com/wafendy","followers_url":"https://api.github.com/users/wafendy/followers","following_url":"https://api.github.com/users/wafendy/following{/other_user}","gists_url":"https://api.github.com/users/wafendy/gists{/gist_id}","starred_url":"https://api.github.com/users/wafendy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wafendy/subscriptions","organizations_url":"https://api.github.com/users/wafendy/orgs","repos_url":"https://api.github.com/users/wafendy/repos","events_url":"https://api.github.com/users/wafendy/events{/privacy}","received_events_url":"https://api.github.com/users/wafendy/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T14:47:35Z","updated_at":"2015-08-19T14:47:35Z","body":"FYI, I'm using API version 2015"}}