Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save pietgeursen/d2374f1bb706803f0bd52d2c26d69ff4 to your computer and use it in GitHub Desktop.

Select an option

Save pietgeursen/d2374f1bb706803f0bd52d2c26d69ff4 to your computer and use it in GitHub Desktop.
hellosign-w9-form-code
{
"forms": [
{
"enabled": true,
"fields": [
{
"allowMultiple": false,
"dataRef": "entityType",
"errors": {
"required": "This field is required"
},
"id": "entityTypeGroup",
"label": "What is your tax classification?",
"options": [
"Individual",
"Business"
],
"presentation": "buttons",
"required": true,
"roles": [
"signer"
],
"type": "MultipleChoice",
"validators": []
},
{
"children": [
{
"children": [
{
"dataRef": "taxClassification",
"id": "taxClassificationSP",
"label": "Sole Proprietor",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "Sole Proprietor"
},
{
"dataRef": "taxClassification",
"id": "taxClassificationCC",
"label": "C Corporation",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "C Corporation"
},
{
"dataRef": "taxClassification",
"id": "taxClassificationSC",
"label": "S Corporation",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "S Corporation"
},
{
"dataRef": "taxClassification",
"id": "taxClassificationP",
"label": "Partnership",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "Partnership"
},
{
"dataRef": "taxClassification",
"id": "taxClassificationTE",
"label": "Trust/Estate",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "Trust/Estate"
},
{
"dataRef": "taxClassification",
"id": "taxClassificationSML",
"label": "Single-member LLC",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "Single-member LLC"
},
{
"dataRef": "taxClassification",
"id": "taxClassificationL",
"label": "LLC",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "LLC"
},
{
"dataRef": "taxClassification",
"id": "taxClassificationO",
"label": "Other",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "Other"
}
],
"dataRef": "taxClassification",
"errors": {
"default": "Invalid",
"required": "Your tax classification is required"
},
"id": "taxClassificationGroup",
"required": {
"args": [],
"macroName": "isBusiness",
"methodName": null
},
"roles": [
"signer"
],
"type": "SelectGroup",
"validators": [],
"visible": {
"args": [],
"macroName": "isBusiness",
"methodName": null
}
},
{
"children": [
{
"dataRef": "taxSubClassification",
"id": "taxSubClassificationCC",
"label": "C Corporation",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "C Corporation"
},
{
"dataRef": "taxSubClassification",
"id": "taxSubClassificationSC",
"label": "S Corporation",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "S Corporation"
},
{
"dataRef": "taxSubClassification",
"id": "taxSubClassificationP",
"label": "Partnership",
"roles": [
"signer"
],
"type": "Toggle",
"validators": [],
"value": "Partnership"
}
],
"dataRef": "taxSubClassification",
"errors": {
"default": "Invalid",
"required": "Your tax classification is required"
},
"id": "taxSubClassificationGroup",
"label": "Select the tax classification",
"required": {
"args": [],
"macroName": "isLLC",
"methodName": null
},
"roles": [
"signer"
],
"type": "SelectGroup",
"validators": [],
"visible": {
"args": [],
"macroName": "isLLC",
"methodName": null
}
}
],
"dataRef": "taxClassificationTree",
"id": "taxClassificationTree",
"roles": [
"signer"
],
"type": "SelectTree",
"validators": [],
"visible": {
"args": [],
"macroName": "isBusiness",
"methodName": null
}
},
{
"dataRef": "fullName",
"id": "fullName",
"label": "Full name",
"placeholder": "Full name",
"required": {
"args": [
{
"args": [],
"macroName": "isIndividual",
"methodName": null
},
{
"args": [],
"macroName": "isSingleBusiness",
"methodName": null
}
],
"macroName": null,
"methodName": "or"
},
"roles": [
"signer"
],
"type": "TextInput",
"validators": [],
"visible": {
"args": [
{
"args": [],
"macroName": "isIndividual",
"methodName": null
},
{
"args": [],
"macroName": "isSingleBusiness",
"methodName": null
}
],
"macroName": null,
"methodName": "or"
}
},
{
"dataRef": "businessName",
"errors": {
"default": "Invalid",
"required": "Your business name is required"
},
"id": "businessName",
"label": "Business Name",
"placeholder": "Business name",
"required": {
"args": [],
"macroName": "isBusiness",
"methodName": null
},
"roles": [
"signer"
],
"type": "TextInput",
"validators": [],
"visible": {
"args": [],
"macroName": "isBusiness",
"methodName": null
}
},
{
"dataRef": "tradeName",
"errors": {
"default": "Invalid",
"required": "Your trade/DBA name is required"
},
"id": "tradeName",
"label": "Trade or DBA name",
"placeholder": "Name",
"required": false,
"roles": [
"signer"
],
"type": "TextInput",
"validators": [],
"visible": {
"args": [
{
"args": [],
"macroName": "isBusiness",
"methodName": null
},
{
"args": [
{
"args": [],
"macroName": "isSingleBusiness",
"methodName": null
},
true
],
"macroName": null,
"methodName": "not"
}
],
"macroName": null,
"methodName": "and"
}
},
{
"children": [
{
"dataRef": "street",
"errors": {
"default": "Invalid",
"required": "Your street address is required"
},
"id": "street",
"placeholder": "Street",
"roles": [
"signer"
],
"type": "TextInput",
"validators": [],
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
},
{
"dataRef": "city",
"errors": {
"default": "Invalid",
"lettersOnly": "The city name can only contain letters",
"required": "Your city is required"
},
"id": "city",
"placeholder": "City",
"required": true,
"roles": [
"signer"
],
"type": "TextInput",
"validators": [],
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
},
{
"dataRef": "state",
"errors": {
"default": "Invalid",
"required": "Your state is required"
},
"id": "state",
"options": {
"VA": "VA",
"IA": "IA",
"GA": "GA",
"WY": "WY",
"AR": "AR",
"NH": "NH",
"SD": "SD",
"VT": "VT",
"CT": "CT",
"AZ": "AZ",
"LA": "LA",
"NV": "NV",
"SC": "SC",
"TX": "TX",
"KS": "KS",
"NE": "NE",
"NJ": "NJ",
"NY": "NY",
"OK": "OK",
"KY": "KY",
"MS": "MS",
"NM": "NM",
"WV": "WV",
"ME": "ME",
"DC": "DC",
"MI": "MI",
"IN": "IN",
"DE": "DE",
"UT": "UT",
"MO": "MO",
"IL": "IL",
"NC": "NC",
"WI": "WI",
"MD": "MD",
"RI": "RI",
"MA": "MA",
"WA": "WA",
"CA": "CA",
"HI": "HI",
"AL": "AL",
"MT": "MT",
"PA": "PA",
"ID": "ID",
"OR": "OR",
"MN": "MN",
"FL": "FL",
"CO": "CO",
"AK": "AK",
"OH": "OH",
"ND": "ND",
"TN": "TN"
},
"placeholder": "State",
"required": true,
"roles": [
"signer"
],
"type": "SelectList",
"validators": [],
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
},
{
"dataRef": "zipcode",
"errors": {
"default": "Invalid zip code",
"numbersOnly": "Can only include numbers",
"required": "Your zip code is required"
},
"id": "zipcode",
"placeholder": "Zip",
"required": true,
"roles": [
"signer"
],
"type": "TextInput",
"validators": [
{
"args": [
{
"args": [
"zipcode"
],
"macroName": null,
"methodName": "val"
}
],
"macroName": null,
"methodName": "numbersOnly"
}
],
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
}
],
"dataRef": "address",
"id": "address",
"label": "Mailing address",
"roles": [
"signer"
],
"type": "AddressGroup",
"validators": [],
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
},
{
"dataRef": "state",
"id": "stateHidden",
"roles": [
"signer"
],
"type": "Hidden",
"validators": []
},
{
"dataRef": "street",
"id": "streetHidden",
"roles": [
"signer"
],
"type": "Hidden",
"validators": []
},
{
"dataRef": "city",
"id": "cityHidden",
"roles": [
"signer"
],
"type": "Hidden",
"validators": []
},
{
"dataRef": "zipcode",
"id": "zipHidden",
"roles": [
"signer"
],
"type": "Hidden",
"validators": []
},
{
"dataRef": "socialnn",
"errors": {
"default": "Social security number must have 9 digits",
"numbersOnly": "SSN must be numbers",
"required": "Your SSN is required"
},
"id": "socialnn",
"label": "Social security number / TIN",
"required": {
"args": [
{
"args": [],
"macroName": "isIndividual",
"methodName": null
},
{
"args": [],
"macroName": "isSoleProprietor",
"methodName": null
}
],
"macroName": null,
"methodName": "or"
},
"roles": [
"signer"
],
"type": "SSN",
"validators": [
{
"args": [
{
"args": [
"socialnn"
],
"macroName": null,
"methodName": "val"
}
],
"macroName": null,
"methodName": "numbersOnly"
}
],
"visible": {
"args": [
{
"args": [],
"macroName": "isIndividual",
"methodName": null
},
{
"args": [],
"macroName": "isSoleProprietor",
"methodName": null
}
],
"macroName": null,
"methodName": "or"
}
},
{
"dataRef": "employeeId",
"errors": {
"default": "Employer ID number must be 9 digits",
"numbersOnly": "Employer ID must be numbers"
},
"id": "employeeId",
"label": "Employer Identification Number",
"required": {
"args": [
{
"args": [],
"macroName": "isBusiness",
"methodName": null
},
{
"args": [
{
"args": [],
"macroName": "isSoleProprietor",
"methodName": null
},
true
],
"macroName": null,
"methodName": "not"
}
],
"macroName": null,
"methodName": "and"
},
"roles": [
"signer"
],
"type": "EIN",
"validators": [
{
"args": [
{
"args": [
"employeeId"
],
"macroName": null,
"methodName": "val"
}
],
"macroName": null,
"methodName": "numbersOnly"
}
],
"visible": {
"args": [
{
"args": [],
"macroName": "isBusiness",
"methodName": null
},
{
"args": [
{
"args": [],
"macroName": "isSoleProprietor",
"methodName": null
},
true
],
"macroName": null,
"methodName": "not"
}
],
"macroName": null,
"methodName": "and"
}
},
{
"allowMultiple": false,
"dataRef": "payeeCode",
"id": "payeeCode",
"label": "Exempt payee code",
"options": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13"
],
"placeHolder": "-",
"placeholder": "-",
"presentation": "dropdown",
"required": false,
"roles": [
"signer"
],
"type": "MultipleChoice",
"validators": [],
"visible": {
"args": [],
"macroName": "isBusiness",
"methodName": null
}
},
{
"allowMultiple": false,
"dataRef": "fatcaCode",
"id": "fatcaCode",
"label": "Exemption from FATCA reporting code",
"options": [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"H",
"I",
"J",
"K",
"L",
"M"
],
"placeholder": "-",
"presentation": "dropdown",
"required": false,
"roles": [
"signer"
],
"type": "MultipleChoice",
"validators": [],
"visible": {
"args": [],
"macroName": "isBusiness",
"methodName": null
}
},
{
"dataRef": "accountNumbers",
"defaultSize": 1,
"errors": {
"default": "Invalid"
},
"extendable": true,
"id": "accountNumbers",
"label": "Account number(s) with the IRS",
"maxSize": 2,
"minSize": 1,
"required": false,
"roles": [
"signer"
],
"type": "List",
"validators": [],
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
},
{
"dataRef": "textAgreement",
"id": "textAgreement",
"roles": [],
"type": "Paragraph",
"validators": [],
"value": {
"content": [
{
"content": [
{
"marks": [
{
"type": "strong"
}
],
"text": "Under penalties of perjury, I certify that:",
"type": "text"
}
],
"type": "paragraph"
},
{
"attrs": {
"order": 1
},
"content": [
{
"content": [
{
"content": [
{
"text": "The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me); and",
"type": "text"
}
],
"type": "paragraph"
},
{
"type": "paragraph"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding; and",
"type": "text"
}
],
"type": "paragraph"
},
{
"type": "paragraph"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "I am a U.S. citizen or other U.S. person (defined in instructions); and ",
"type": "text"
}
],
"type": "paragraph"
},
{
"type": "paragraph"
}
],
"type": "listItem"
},
{
"content": [
{
"content": [
{
"text": "The FATCA code(s) entered on this form (if any) indicating that I am exempt from FATCA reporting is correct. ",
"type": "text"
}
],
"type": "paragraph"
},
{
"type": "paragraph"
}
],
"type": "listItem"
}
],
"type": "orderedList"
},
{
"content": [
{
"text": "Certification instructions. You must cross out item 2 above if you have been notified by the IRS that you are currently subject to backup withholding because you have failed to report all interest and dividends on your tax return. For real estate transactions, item 2 does not apply. For mortgage interest paid, acquisition or abandonment of secured property, cancellation of debt, contributions to an individual retirement arrangement (IRA), and generally, payments other than interest and dividends, you are not required to sign the certification, but you must provide your correct TIN.\n",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc"
},
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
},
{
"dataRef": "signature",
"errors": {
"default": "Invalid",
"required": "Your signature is required"
},
"id": "signature",
"required": true,
"roles": [
"signer"
],
"type": "Signature",
"validators": [],
"visible": {
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
},
{
"dataRef": "passThroughName",
"id": "passThroughName",
"roles": [
"signer"
],
"type": "Hidden",
"validators": [
{
"args": [],
"macroName": "hasEntityType",
"methodName": null
}
],
"value": {
"args": [
{
"args": [
{
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Individual"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Sole Proprietor"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "or"
},
{
"args": [
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Trust/Estate"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Single-member LLC"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "or"
}
],
"macroName": null,
"methodName": "or"
},
{
"args": [
"fullName"
],
"macroName": null,
"methodName": "val"
},
{
"args": [
"businessName"
],
"macroName": null,
"methodName": "val"
}
],
"macroName": null,
"methodName": "if"
}
}
],
"id": "w9",
"macros": {
"hasEntityType": {
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Individual"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "or"
},
"isBusiness": {
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
"isIndividual": {
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Individual"
],
"macroName": null,
"methodName": "is"
},
"isLLC": {
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"LLC"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "and"
},
"isSingleBusiness": {
"args": [
{
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Sole Proprietor"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "and"
},
{
"args": [
{
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Trust/Estate"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "and"
},
{
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Single-member LLC"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "and"
}
],
"macroName": null,
"methodName": "or"
}
],
"macroName": null,
"methodName": "or"
},
"isSingleLLC": {
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Single-member LLC"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "and"
},
"isSoleProprietor": {
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Sole Proprietor"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "and"
},
"isTrust": {
"args": [
{
"args": [
{
"args": [
"entityType"
],
"macroName": null,
"methodName": "val"
},
"Business"
],
"macroName": null,
"methodName": "is"
},
{
"args": [
{
"args": [
"taxClassification"
],
"macroName": null,
"methodName": "val"
},
"Trust/Estate"
],
"macroName": null,
"methodName": "is"
}
],
"macroName": null,
"methodName": "and"
}
},
"name": "W-9",
"pdfMap": [
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 64, y: 91, page: 1}",
"x": 64,
"y": 91
},
"dimensions": {
"height": 16,
"width": 250
},
"id": "Full_name (Signer)",
"label": "Full_name (Signer)",
"type": "Text",
"value": "value [@entityType, @taxClassification] do\n[\"Business\", \"Sole Proprietor\"] -> @fullName\n[\"Business\", \"Trust/Estate\"] -> @fullName\n[\"Business\", \"Single-member LLC\"] -> @fullName\n[\"Individual\", _] -> @fullName\n[\"Business\", _] -> @businessName\n_ -> nil\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 65, y: 116, page: 1}",
"x": 65,
"y": 116
},
"dimensions": {
"height": 16,
"width": 250
},
"id": "Business_Name (Signer)",
"label": "Business_Name (Signer)",
"type": "Text",
"value": "value [@entityType, @taxClassification] do\n[\"Business\", \"Sole Proprietor\"] -> @businessName\n[\"Business\", \"Trust/Estate\"] -> @businessName\n[\"Business\", \"Single-member LLC\"] -> @businessName\n[\"Business\", _] -> @tradeName\n_ -> nil\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 67, y: 212, page: 1}",
"x": 67,
"y": 212
},
"dimensions": {
"height": 16,
"width": 250
},
"id": "Address (Signer)",
"label": "Address (Signer)",
"type": "Text",
"value": "value @street"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 71, y: 236, page: 1}",
"x": 71,
"y": 236
},
"dimensions": {
"height": 16,
"width": 170
},
"id": "city (Signer)",
"label": "city (Signer)",
"type": "Text",
"value": "value @city"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 249, y: 236, page: 1}",
"x": 249,
"y": 236
},
"dimensions": {
"height": 16,
"width": 58
},
"id": "state (Signer)",
"label": "state (Signer)",
"type": "Text",
"value": "value @state"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 311, y: 236, page: 1}",
"x": 311,
"y": 236
},
"dimensions": {
"height": 16,
"width": 68
},
"id": "zipcode (Signer)",
"label": "zipcode (Signer)",
"type": "Text",
"value": "value @zipcode"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 185, y: 144, page: 1}",
"x": 187,
"y": 142
},
"dimensions": {
"height": 12,
"width": 12
},
"id": "C_Corporation_1 (Signer)",
"label": "C_Corporation_1 (Signer)",
"type": "Checkmark",
"value": "value @taxClassification == \"C Corporation\" and @entityType == \"Business\""
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 257, y: 144, page: 1}",
"x": 257,
"y": 144
},
"dimensions": {
"height": 12,
"width": 12
},
"id": "S_Corporation_2 (Signer)",
"label": "S_Corporation_2 (Signer)",
"type": "Checkmark",
"value": "value @taxClassification == \"S Corporation\" and @entityType == \"Business\""
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 325, y: 142, page: 1}",
"x": 325,
"y": 142
},
"dimensions": {
"height": 12,
"width": 12
},
"id": "Partnership_3 (Signer)",
"label": "Partnership_3 (Signer)",
"type": "Checkmark",
"value": "value @taxClassification == \"Partnership\" and @entityType == \"Business\""
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 394, y: 144, page: 1}",
"x": 394,
"y": 144
},
"dimensions": {
"height": 12,
"width": 12
},
"id": "Trust/Estate_4 (Signer)",
"label": "Trust/Estate_4 (Signer)",
"type": "Checkmark",
"value": "value @taxClassification == \"Trust/Estate\" and @entityType == \"Business\""
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 66, y: 160, page: 1}",
"x": 66,
"y": 160
},
"dimensions": {
"height": 12,
"width": 12
},
"id": "LLC_6 (Signer)",
"label": "LLC_6 (Signer)",
"type": "Checkmark",
"value": "value @taxClassification == \"LLC\" and @entityType == \"Business\""
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 63, y: 191, page: 1}",
"x": 63,
"y": 191
},
"dimensions": {
"height": 12,
"width": 12
},
"id": "other_7 (Signer)",
"label": "other_7 (Signer)",
"type": "Checkmark",
"value": "value @taxClassification == \"Other\" and @entityType == \"Business\""
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 69, y: 259, page: 1}",
"x": 69,
"y": 259
},
"dimensions": {
"height": 16,
"width": 250
},
"id": "Account_number(s)_with_the_IRS (Signer)",
"label": "Account_number(s)_with_the_IRS (Signer)",
"type": "Text",
"value": "value \"#{format(:list, @accountNumbers, \", \")}\""
},
{
"coords": {
"page": 1,
"rawValue": "coords do\n0 -> %{x: 421.9, y: 302.4, page: 1}\n1 -> %{x: 436.3, y: 302.4, page: 1}\n2 -> %{x: 450.7, y: 302.4, page: 1}\n3 -> %{x: 479.5, y: 302.4, page: 1}\n4 -> %{x: 493.9, y: 302.4, page: 1}\n5 -> %{x: 522.7, y: 302.4, page: 1}\n6 -> %{x: 537.1, y: 302.4, page: 1}\n7 -> %{x: 551.5, y: 302.4, page: 1}\n8 -> %{x: 566.4, y: 302.4, page: 1}\nend",
"x": 419,
"y": 304
},
"dimensions": {
"height": 16,
"width": 158
},
"fontSize": 16,
"id": "Social_security_number_/_TIN (Signer)",
"label": "Social_security_number_/_TIN (Signer)",
"splitBy": "char",
"type": "Text",
"value": "value [@entityType, @taxClassification] do\n[\"Individual\", _] -> @socialnn\n[\"Business\", \"Sole Proprietor\"] -> @socialnn\n_ -> nil\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords do\n0 -> %{x: 421.9, y: 349.2, page: 1}\n1 -> %{x: 436.3, y: 349.2, page: 1}\n2 -> %{x: 465.7, y: 349.2, page: 1}\n3 -> %{x: 478.9, y: 349.2, page: 1}\n4 -> %{x: 493.9, y: 349.2, page: 1}\n4 -> %{x: 493.9, y: 349.2, page: 1}\n5 -> %{x: 508.9, y: 349.2, page: 1}\n6 -> %{x: 522.7, y: 349.2, page: 1}\n7 -> %{x: 537.1, y: 349.2, page: 1}\n8 -> %{x: 551.5, y: 349.2, page: 1}\nend",
"x": 416,
"y": 347
},
"dimensions": {
"height": 16,
"width": 142
},
"fontSize": 16,
"id": "Employer_Identification_Number (Signer)",
"label": "Employer_Identification_Number (Signer)",
"splitBy": "char",
"type": "Text",
"value": "value [@entityType, @taxClassification] do\n[\"Business\", \"Sole Proprietor\"] -> nil\n[\"Business\", _] -> @employeeId\n_ -> nil\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 67, y: 143, page: 1}",
"x": 67,
"y": 143
},
"dimensions": {
"height": 12,
"width": 12
},
"id": "Individual",
"label": "Individual",
"type": "Checkmark",
"value": "value [@entityType, @taxClassification] do\n[\"Individual\", _] -> true\n[\"Business\", \"Sole Proprietor\"] -> true\n[\"Business\", \"Single-member LLC\"] -> true\n_ -> false\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 130, y: 519, page: 1}",
"x": 130,
"y": 519
},
"dimensions": {
"height": 24,
"width": 193
},
"id": "Signature (Signer)",
"label": "Signature (Signer)",
"type": "Signature",
"value": "value @signature"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 548, y: 154, page: 1}",
"x": 548,
"y": 154
},
"dimensions": {
"height": 16,
"width": 32
},
"id": "Exempt_payee_code (Signer)",
"label": "Exempt_payee_code (Signer)",
"type": "Text",
"value": "value @entityType do\n\"Business\" -> @payeeCode\n_ -> nil\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 512, y: 177, page: 1}",
"x": 512,
"y": 177
},
"dimensions": {
"height": 16,
"width": 74
},
"id": "Exemption_from_FATCA_reporting_code (Signer)",
"label": "Exemption_from_FATCA_reporting_code (Signer)",
"type": "Text",
"value": "value @entityType do\n \"Business\" -> @fatcaCode\n_ -> nil\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 413, y: 157, page: 1}",
"x": 413,
"y": 158
},
"dimensions": {
"height": 16,
"width": 44
},
"id": "taxSubClassification (Signer)",
"label": "taxSubClassification (Signer)",
"type": "Text",
"value": "value [@entityType, @taxClassification, @taxSubClassification] do\n[\"Individual\", _, _] -> \"\"\n[_, \"LLC\", \"S Corporation\"] -> \"S\"\n[\"Business\", \"LLC\", \"C Corporation\"] -> \"C\"\n[\"Business\", \"LLC\", \"Partnership\"] -> \"P\"\n_ -> \"\"\n\nend"
},
{
"coords": {
"page": 1,
"rawValue": "coords %{x: 408, y: 524, page: 1}",
"x": 408,
"y": 524
},
"dimensions": {
"height": 16,
"width": 123
},
"id": "Date Signed (Signer)",
"label": "Date Signed (Signer)",
"type": "Text",
"value": "value \"#{format(:date, \"now\", \"{M}/{D}/{YYYY}\")}\""
}
],
"settings": {
"preview": true
},
"templateId": "IrLyADiAc32vs2uB"
}
],
"mapping": {
"w9.fullName": {
"args": [
"fullName"
],
"macroName": null,
"methodName": "val"
}
},
"mergeFields": [
{
"dataRef": "fullName",
"label": "Full Name"
}
],
"roles": [
{
"id": "signer",
"title": "Signer"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment